← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470890] [NEW] cc_apt_configure only understands EC2 availability zones

 

Public bug reported:

In _get_package_mirror_info (in cloudinit/distros/__init__.py), there is
code that specifically handles converting EC2 availability zones to
their corresponding regions. This won't work for other clouds that don't
have the same form for availability zones (and even if they _do_,
they'll have to be configured using strings containing 'ec2'; weird),
which is problematic.

This is particularly a problem for GCE.

** 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/1470890

Title:
  cc_apt_configure only understands EC2 availability zones

Status in Init scripts for use on cloud images:
  New

Bug description:
  In _get_package_mirror_info (in cloudinit/distros/__init__.py), there
  is code that specifically handles converting EC2 availability zones to
  their corresponding regions. This won't work for other clouds that
  don't have the same form for availability zones (and even if they
  _do_, they'll have to be configured using strings containing 'ec2';
  weird), which is problematic.

  This is particularly a problem for GCE.

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


Follow ups

References