** Description changed:

  cloud-init's code that tries to determine if it is in a ec2 region is
  simply unaware of the 'central' direction.
  
- --- /usr/lib/python2.7/dist-packages/cloudinit/distros/__init__.py.dist       
2015-05-19 12:47:04.956343999 +0000
- +++ /usr/lib/python2.7/dist-packages/cloudinit/distros/__init__.py    
2015-05-19 12:47:09.718723998 +0000
- @@ -535,7 +535,7 @@
-          mirror_info = {}
-  
-      ec2_az_re = ("^[a-z][a-z]-(%s)-[1-9][0-9]*[a-z]$" %
- -        "north|northeast|east|southeast|south|southwest|west|northwest")
- +        
"north|northeast|east|southeast|south|southwest|west|northwest|central")
-  
-      subst = {}
-      if availability_zone:
+ [Impact]
+ Ubuntu instances launched in the eu-central-1 EC2 region will not discover 
region-local mirrors. The user will see a degraded experience as they have to 
interact with mirrors that are further away and under heavier load. They will 
also potentially have to pay for the bandwidth used this way (as will the 
default mirror admins).
+ 
+ [Test Case]
+ Launch an instance in eu-central-1 and examine the apt sources used.  They 
should be of the form "eu-central-1.ec2.archive.ubuntu.com" instead of 
"eu-central-1a.clouds.archive.ubuntu.com".
+ 
+ [Regression Potential]
+ Limited; the changes are limited to the mirror discovery, and if mirror 
discovery fails, we have default mirrors that we will use.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1456684

Title:
  does not know central (eu-central-1) is a direction for ec2 zones

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to