← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Also affects: cloud-init (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: cloud-init
       Status: New => Confirmed

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

** Changed in: cloud-init
   Importance: Undecided => Medium

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

** Changed in: cloud-init
       Status: Confirmed => Fix Committed

-- 
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:
  Fix Committed
Status in cloud-init package in Ubuntu:
  Confirmed

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


References