← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1089989] Re: CloudStack data source uses wrong address

 

fixed in 0.7.2

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

** Changed in: cloud-init
    Milestone: 0.7.2 => None

-- 
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/1089989

Title:
  CloudStack data source uses wrong address

Status in Init scripts for use on cloud images:
  Fix Released

Bug description:
  Found with a build from trunk (revision 747).

  In CloudStack's documentation, it is stated that meta/user-data can be
  retrieved from CloudStack's Virtual Router (VR): (see
  http://incubator.apache.org/cloudstack/docs/en-
  US/Apache_CloudStack/4.0.0-incubating/html/Admin_Guide/user-data-and-
  meta-data.html). However, cloud-init retrieves these information from
  default gateway. VR and default gateway may be the same machine (i.e.
  have the same address) in some cases, but that is not be always true
  (actually, in my case, it is not).

  The fix seems easy: in file 'DataSourceCloudStack.py', the method
  'get_default_gateway' should be corrected.

  I may provide a patch soon, if it can help.

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