yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46899
[Bug 1538482] Re: url_for does not exists for service catalog
Looks like passing Service Catalog requires some kind of spec.
So I am deleting Glance as affected project.
** No longer affects: glance
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1538482
Title:
url_for does not exists for service catalog
Status in glance_store:
Fix Released
Bug description:
Here we introduced url_for method for service_catalog:
https://review.openstack.org/#/c/250857/
Unfortunately, we are parsing service_catalog and passing it to glance_store as a list in context:
https://github.com/openstack/glance/blob/master/glance/api/middleware/context.py#L117
Because of this current glance_store master is broken when swift multi-tenant store is enabled with an error like this:
list doesn't have an attribute url_for.
That happens every time somebody would like to download/upload images.
We also need to pass ServiceCatalog from glance to glance_store. It is better than initializing ServiceCatalog in glance_store. It alos saves a lot time when upgrading from Keystone v2 to v3.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance-store/+bug/1538482/+subscriptions