[Bug 1037727] [NEW] support adding region/availability to mirror selection

Scott Moser smoser at ubuntu.com
Thu Aug 16 19:00:39 UTC 2012


Public bug reported:

currently, the ec2 datasource has some code that selects the mirror location by looking at the availability-zone.
I think this is generally a pretty good idea.  I'd like to extend that to other datasources, and not limit to ".ec2.archive.ubuntu.com".

The goal would be to basically check for a mirror at:
  <availability-zone>[.<cloud>][dns-subdomain]

dns subdomain would default to '.cloud.archive.ubuntu.com'.

if the datasource provided the 'cloud' value, we'd use that, but
otherwise just use availability-zone.

This would fit in with what we're currently doing on ec2, but would extend to others.
I'd just treat the "cc-direction-[0-9]" availability-zones specially, to know that this is an ec2 one.  Then basically append ".ec2" in that case.

** Affects: cloud-init (Ubuntu)
     Importance: High
         Status: Triaged

** Changed in: cloud-init (Ubuntu)
       Status: New => Triaged

** Changed in: cloud-init (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1037727

Title:
  support adding region/availability to mirror selection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1037727/+subscriptions



More information about the Ubuntu-server-bugs mailing list