← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456684] [NEW] does not know central (eu-central-1) is a direction for ec2 zones

 

Public bug reported:

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:

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1456684

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

Status in Init scripts for use on cloud images:
  New

Bug description:
  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:

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


Follow ups

References