glance/swift image sync fails with ceph-radosgw providing swift storage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simplestreams |
New
|
Undecided
|
Unassigned |
Bug Description
The endpoint URL for a Ceph RADOS Gateway includes "v1" at the end; simplestreams strips this from the endpoint URL causing the following failure when syncing stream data into an openstack cloud:
Traceback (most recent call last):
File "/home/
main()
File "/home/
tstore = swift.SwiftObje
File "/home/
'.r:
File "/usr/lib/
response_
File "/usr/lib/
rv = func(self.url, self.token, *args, **kwargs)
File "/usr/lib/
http_
swiftclient.
failed gmirror for ubuntu-released
Workaround:
=== modified file 'simplestreams/ openstack. py' openstack. py 2014-01-29 21:28:34 +0000 openstack. py 2014-05-23 09:14:04 +0000
endpoint_ kwargs[ 'filter_ value'] = kwargs. get('region_ name')
--- simplestreams/
+++ simplestreams/
@@ -119,7 +119,7 @@
endpoint = client. service_ catalog. url_for( **endpoint_ kwargs) version( endpoint) version( endpoint)
- return _strip_
+ return endpoint # _strip_
def _strip_ version( endpoint) :