lp:~harlowja/cloud-init/better-errors
- Get this branch:
- bzr branch lp:~harlowja/cloud-init/better-errors
Branch merges
- cloud-init Commiters: Pending requested
-
Diff: 152 lines (+29/-34)5 files modifiedcloudinit/distros/__init__.py (+3/-5)
cloudinit/importer.py (+8/-13)
cloudinit/mergers/__init__.py (+6/-4)
cloudinit/sources/__init__.py (+3/-3)
cloudinit/stages.py (+9/-9)
Branch information
Recent revisions
- 1004. By Joshua Harlow
-
Remove/adjust the verbose 'failed at attempted import of' log
Instead of using this log (which really isn't a failure) we should
instead of just return the looked up locations and then if there really
is an error the caller can handle the usage of the looked up locations
as they choose fit. - 1003. By Scott Moser
-
FreeBsd: fix initscripts and add working config file
This set of changes generally produces a functional cloud-init on FreeBsd.
- 1002. By Scott Moser
-
Openstack: do not load urls twice
The metadata service openstack implementation would end up fetching
urls more than once, as _path_exists would end up doing a GET.
Now instead, get things you expect to be there. - 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 - 997. By Scott Moser
-
fix rendering resolv.conf if no 'options' are provided
this makes some changes to the cc_resolv_conf to make its
generate_resolv_ conf method more easily callable (for future test). Also sets it up so that 'options' is always defined when the template
is rendered.
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