Merge lp:~daniel-thewatkins/cloud-init/shim_fixes into lp:~cloud-init-dev/cloud-init/trunk
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~daniel-thewatkins/cloud-init/shim_fixes |
| Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
| Diff against target: |
144 lines (+64/-42) 2 files modified
cloudinit/sources/helpers/azure.py (+16/-10) tests/unittests/test_datasource/test_azure_helper.py (+48/-32) |
| To merge this branch: | bzr merge lp:~daniel-thewatkins/cloud-init/shim_fixes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| cloud-init commiters | 2015-08-26 | Pending | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2015-10-09.
- 1139. By Scott Moser on 2015-09-01
-
Handle symlink mount points in mount_cb.
The Azure data source now uses a /dev/disk symlink to identify devices,
but the dereferenced version of this appears in the mount table.
mount_cb therefore doesn't identify when a disk is already mounted, and
attempts to mount it a second time (which fails with NTFS). - 1140. By Scott Moser on 2015-09-02
-
sync curtin reporting changes back to cloud-init
this pulls in the reporting framework that we'd been working on
in curtin back to cloud-init. - 1141. By Scott Moser on 2015-09-03
-
reporting/events: catch a final remaining incorrect use of 'reporting'
- 1142. By Scott Moser on 2015-09-08
-
NoCloud: fix consumption of vendor-data
the content of vendordata was was being assigned to vendordata,
rather than vendordata_raw. The result was that it is not processed
for includes or part handlers or other things as it is in other
datasources. - 1143. By Scott Moser on 2015-09-08
-
power_state: support 'condition' argument
if 'condition' is provided to config in power_state, then
consult it before powering off.This allows the user to shut down only if a condition is met, and
leave the system in a debuggable state otherwise.An example is as simple as:
power_state:
mode: poweroff
condition: ['sh', '-c', '[ -f /disable-poweroff ]'] - 1144. By Scott Moser on 2015-09-11
-
snappy: enable ssh on snappy if ssh keys are provided or password auth
If the user provides ssh keys or requests password auth in their
user-data then we will enable ssh by default. - 1145. By Ben Howard on 2015-09-15
-
Change Snappy SSH enabled default from false to 'auto' (LP: #1494816)
- 1146. By Scott Moser on 2015-09-17
-
webhook: report with json data
the handler was passing a dictionary to readurl
which was then passing that on to requests.request as 'data'.
the requests library would urlencode that, but we want the
json data posted instead.
| Scott Moser (smoser) wrote : | # |
- 1147. By Scott Moser on 2015-09-29
-
MAAS: fix issues with url_helper and oauth module
This would cause problems in the event that we actually had a bad
clock. We add a retry in the main (for test) also, to ensure that
the oauth timestamp fix gets in place. - 1148. By Dan Watkins on 2015-10-09
-
Handle escaped quotes in WALinuxAgentShi
m.find_ endpoint. This fixes bug 1488891.
- 1149. By Dan Watkins on 2015-10-09
-
Handle colons in packed strings in WALinuxAgentShi
m.find_ endpoint. This fixes bug 1488896.
- 1150. By Dan Watkins on 2015-10-09
-
Convert test helper to staticmethod.
- 1151. By Dan Watkins on 2015-10-09
-
Refactor WALinuxAgentShi
m.find_ endpoint to use a helper method for IP address unpacking. - 1152. By Dan Watkins on 2015-10-09
-
Refactor tests to test helper method directly, and remove need for test helper.


Odd_Bloke, it seems maybe the part find_endpoint after 'No endpoint found in DHCP config.' could/should be its own method . and then some tests on it. maybe 'extract_ value_from_ leases_ key' or something like that.
other thing, is if you're just reading your two test cases that you added, its very difficult to see how they're any different . since the only difference is in fact the ip address. at very lease a comment would be good there.