lp:~oddbloke/cloud-init/fix-gce-az

Created by Dan Watkins and last modified
Get this branch:
bzr branch lp:~oddbloke/cloud-init/fix-gce-az
Only Dan Watkins can upload to this branch. If you are Dan Watkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dan Watkins
Project:
cloud-init
Status:
Merged

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.

1124. By Dan Watkins

Make full data source available to code that handles mirror selection.

1123. By Scott Moser

fix 'make pyflakes'

1122. By Scott Moser

tests: fix TestHandlerHandlePart 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

1121. By Dan Watkins

Return a sensible value for DataSourceGCE.availability_zone.

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.

1116. By Scott Moser

apt_configure: fix importing of apt gpg keys under in python3

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
This branch contains Public information 
Everyone can see this information.

Subscribers