swift_store_endpoint doesn't override keystone catalog

Bug #1885651 reported by Chris Stone on 2020-06-30
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Setting swift_store_endpoint in [glance_store] does not have the expected results of overriding the storage URL returned by the keystone catalog (at least not in single tenant config.) Regardless of whether this value is set, it looks like the storage URL is actually being retrieved in https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/swift/connection_manager.py#L142 where it doesn't consider swift_store_endpoint. It seems like there should be a check here for self.store.conf_endpoint and if that's set, return that instead.

This was tested on Rocky but looks like it would still be an issue on master.

Chris Stone (cstone-0) wrote :

It looks like this is limited to Keystone v3.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers