lp:~oddbloke/cloud-init/fix-gce-az
- Get this branch:
- bzr branch lp:~oddbloke/cloud-init/fix-gce-az
Branch merges
- cloud-init Commiters: Pending requested
-
Diff: 195 lines (+43/-18)6 files modifiedcloudinit/distros/__init__.py (+11/-9)
cloudinit/sources/DataSourceEc2.py (+7/-0)
cloudinit/sources/DataSourceGCE.py (+4/-0)
cloudinit/sources/__init__.py (+5/-2)
config/cloud.cfg (+1/-0)
tests/unittests/test_distros/test_generic.py (+15/-7)
Related bugs
Bug #1470880: [SRU] GCE datasource reports availability zones incorrectly | High | Fix Released | |
Bug #1470890: [SRU] cc_apt_configure does not understand regions | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 1125. By Dan Watkins
-
Add DataSource.region and use it in mirror selection.
Also implement DataSource.region for EC2 and GCE data sources.
- 1122. By Scott Moser
-
tests: fix TestHandlerHand
lePart tests these tests were previously passing, but doing so erroneously.
I believe that an update to mock caused them to start failing.I've updated the tests now. The simple change is
replacing 'assert_called_ with_once' with 'assert_ called_ once_with' . The second set of changes is seemingly a correction of the following tests
expectations:
test_normal_version_ 2 : was not expecting to get frequency passed into
handle_part, but should have been.
test_no_handle_ when_modfreq_ once: was expecting to have handle_part
called even though the test implies otherwise.
test_exception_is_caught: this test just looked broken.
Now, we're testing that the part handler is called and that no
exception is raised past handle_part - 1120. By Scott Moser
-
CloudSigma: encode/decode data before communicating over the serial channel
this fixes the cloudsigma datasource when used with python3.
- 1119. By Scott Moser
-
Fix regressed logic causing rightscale userdata to no longer work.
Change the logic for user data handling back to the original intent. A style
change also modified the logic of the user data handling leading to user data
being ignored even if it exists. - 1118. By Scott Moser
-
Use wget to fetch CloudStack passwords.
Different versions of the CloudStack password server respond differently;
wget handles these nicely for us, so it's easier to just use wget. - 1117. By Scott Moser
-
growpart: fix specification of 'devices' list.
given config:
{'growpart': {'devices': ["/"]}}the 'devices' was ignored, it was incorrectly read from the top
level non-namespaced location.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk