Cloudstack userdata not working with 0.7.3-0ubuntu2

Bug #1250398 reported by Loic Lambiel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Hi,

It seems that Cloudstack userdata isn't working with 0.7.3.

It works great with 0.7.2

[CLOUDINIT] cc_rightscale_userdata.py[DEBUG]: Failed to get raw userdata in module rightscale_userdata

Log file attached

Thanks

Revision history for this message
Loic Lambiel (loic-lambiel) wrote :
Revision history for this message
Loic Lambiel (loic-lambiel) wrote :

It works on 13.04 with cloud-init 0.7.2

Does not work on 13.10 with either cloud-init 0.7.3 or 0.7.2

Revision history for this message
Pierre-Yves Ritschard (pyr-spootnik) wrote :

Hi,

The culprit is the upgrade of boto from 2.3.0 in 13.04 to 2.9.6 in 13.10. To fetch userdata, cloud-init relies on a utility function
from boto.utils, the URL building method has changed in boto and now includes a trailing slash. I've reported the bug upstream, but manually constructing the cloudstack user-data URL in DataSourceCloudStack in cloud-init would also be worthwhile, since changes in the way EC2 behaves would not impact cloudstack deployments.

The upstream issue in boto is registered at: https://github.com/boto/boto/pull/1856

Revision history for this message
Scott Moser (smoser) wrote :

Hi,
  From ubuntu's perspective, this is fix-released (as it is fixed in Trusty).
  From cloud-init's perspective, this is fixed in trunk (I think).

  I'm going to close this as fix-released. If either of those statements are not true, feel free to re-open the bug.
  Thanks for taking the time to file the bug and sorry it has taken so long to get around to triaging it.

Scott

Changed in cloud-init (Ubuntu):
status: New → Fix Released
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.