Merge lp://qastaging/~lathiat/charms/trusty/glance-simplestreams-sync/trunk into lp://qastaging/charms/trusty/glance-simplestreams-sync
Proposed by
Trent Lloyd
Status: | Merged |
---|---|
Merged at revision: | 70 |
Proposed branch: | lp://qastaging/~lathiat/charms/trusty/glance-simplestreams-sync/trunk |
Merge into: | lp://qastaging/charms/trusty/glance-simplestreams-sync |
Diff against target: |
84 lines (+13/-46) 1 file modified
scripts/glance-simplestreams-sync.py (+13/-46) |
To merge this branch: | bzr merge lp://qastaging/~lathiat/charms/trusty/glance-simplestreams-sync/trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Данило Шеган (community) | Approve | ||
charmers | Pending | ||
Review via email: mp+290950@code.qastaging.launchpad.net |
Description of the change
Base the product-streams endpoint on swift's endpoint using service_
ceph-radosgw uses a different URL scheme to swift-proxy without the AUTH_$(tenant_id)s part,
this fix will now base the URL on the configured endpoint so that it will work with either
object store and service_
Once working, juju can now find images and tools in a private cloud automatically instead of needing to generate metadata manually.
To post a comment you must log in.
In my tests, this has worked with ceph/ceph deployment of Landscape Autopilot, but failed when swift/iscsi and swift/ceph were used due to Authorization errors.
A glance- simplestreams- sync.log is at http:// paste.ubuntu. com/15806629/.
Btw, please respect the PEP-8 as well (80-character line length limit).