Merge lp://staging/~danilo/charms/trusty/glance-simplestreams-sync/cloud-uuid into lp://staging/~landscape/charms/trusty/glance-simplestreams-sync/landscape
Status: | Merged |
---|---|
Merged at revision: | 58 |
Proposed branch: | lp://staging/~danilo/charms/trusty/glance-simplestreams-sync/cloud-uuid |
Merge into: | lp://staging/~landscape/charms/trusty/glance-simplestreams-sync/landscape |
Diff against target: |
206 lines (+127/-3) 4 files modified
config.yaml (+6/-0) hooks/hooks.py (+3/-2) scripts/glance-simplestreams-sync.py (+117/-1) templates/mirrors.yaml (+1/-0) |
To merge this branch: | bzr merge lp://staging/~danilo/charms/trusty/glance-simplestreams-sync/cloud-uuid |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Geoff Teale (community) | Approve | ||
Chris Glass (community) | Approve | ||
Review via email: mp+288798@code.staging.launchpad.net |
Description of the change
Pass in a user agent to the cloud image server
This branch monkey-patches UrlMirrorReader in python-
If (a new) charm option cloud_uuid is set, that value is included in the user agent string. This will allow Landscape to set a custom value (eg. OSA-xxx).
To test this, enable "openstack-
juju upgrade-charm --switch cs:~danilo/
After that, set cloud_uuid option and then watch how /etc/cron.
Note: at the same time, I am working on a branch to add user-agent support to python-
Looks good, a slight comment on the charm config name as discussed on IRC, but +1 otherwise.