Change approach to request storage url for multi-tenant store
Multi-tenant store doesn't need to fetch swift storage_url from
store location because it can fetch it from service catalog
in user context.
That allows to avoid subtle errors when uploading/downloading
with scheme = 'swift+config'. In the current implementation
multi-tenant store uses location.swift_url to request swift
endpoint but swift_url is keystone endpoint in that case.
The change provides possibility to get rid of this dependency
and consider context as primary source for swift store url.
Reviewed: https:/ /review. openstack. org/252370 /git.openstack. org/cgit/ openstack/ glance_ store/commit/ ?id=68762058cc5 d063f3a846b495a f03150e648224f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 68762058cc5d063 f3a846b495af031 50e648224f
Author: kairat_kushaev <email address hidden>
Date: Tue Jan 19 14:29:25 2016 +0300
Change approach to request storage url for multi-tenant store
Multi-tenant store doesn't need to fetch swift storage_url from downloading
store location because it can fetch it from service catalog
in user context.
That allows to avoid subtle errors when uploading/
with scheme = 'swift+config'. In the current implementation
multi-tenant store uses location.swift_url to request swift
endpoint but swift_url is keystone endpoint in that case.
The change provides possibility to get rid of this dependency
and consider context as primary source for swift store url.
Closes-Bug: #1511025
Change-Id: I7bc23dfc11900b 55f45fe98144d14 f883c381c9f