lp:~harlowja/cloud-init/smart-read
- Get this branch:
- bzr branch lp:~harlowja/cloud-init/smart-read
Branch merges
- cloud-init Commiters: Pending requested
-
Diff: 264 lines (+100/-57)2 files modifiedcloudinit/sources/helpers/openstack.py (+80/-52)
tests/unittests/test_datasource/test_openstack.py (+20/-5)
Branch information
Recent revisions
- 1001. By Jay Faulkner
-
Fix pep8 issues, drop pylint.
pep8: passes on pylint 1.5.7 (and 1.5.6 utopic).
intent is that is to be the target for future changes.pylint: remove as more hassle than its worth.
Intent is to move to pyflakes at some point. - 1000. By Scott Moser
-
ssh_authkey_
fingerprints: fix bug that prevented disabling the module Module intended to allow disabling by configuration, but that was broken.
Now this allows:
no_ssh_fingerprints = True - 999. By Scott Moser
-
ec2_utils.py: get_instance_
metadata explicitly add trailing / This change works around a bug in CloudStack's EC2 api implementation.
That is filed upstream at [1].The fix is safe for openstack and EC2 use cases as well.
EC2 and OpenStacks' EC2 metadata service both return a list with
access to either of:
<url_base>/latest/ meta-data
<url_base>/latest/ meta-data/ Additionally, the responses explicitly contain a trailing '/' for
items that have a child. The ec2_utils code then just re-uses the trailng
/ there. Thus, only the top level request for 'meta-data/' needs
the explicit fix.This also changes test cases. Those test cases failed without fixing
them. If ever this regressed, those would fail again.--
[1] https://issues. apache. org/jira/ browse/ CLOUDSTACK- 7405
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