lp:~harlowja/cloud-init/smart-read

Created by Joshua Harlow and last modified
Get this branch:
bzr branch lp:~harlowja/cloud-init/smart-read
Only Joshua Harlow can upload to this branch. If you are Joshua Harlow please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Joshua Harlow
Project:
cloud-init
Status:
Merged

Recent revisions

1008. By Joshua Harlow

Fix retry cb to reflect what used to exist

1007. By Joshua Harlow

Fixed more of the slowness around fetching and retrying

1006. By Joshua Harlow

Show the available versions in the debug log message

1005. By Joshua Harlow

Log a warning when unable to fetch the openstack versions

1004. By Joshua Harlow

Just use os.path.exists directly

1003. By Joshua Harlow

Add logging around failure to read optional/mandatory paths

1002. By Joshua Harlow

Optimize away most of the path_exists checks

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

Subscribers