lp://staging/~harlowja/cloud-init/schema-validate
- Get this branch:
- bzr branch lp://staging/~harlowja/cloud-init/schema-validate
Branch merges
- Server Team CI bot: Needs Fixing (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 91 lines (+47/-1)3 files modifiedcloudinit/config/__init__.py (+30/-0)
cloudinit/config/cc_final_message.py (+12/-1)
requirements.txt (+5/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 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. - 994. By Scott Moser
-
use url_helper to combine url
This seems cleaner, to avoid duplicate '/' being added.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/~cloud-init-dev/cloud-init/trunk