← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1538482] Re: url_for does not exists for service catalog

 

** Also affects: glance
   Importance: Undecided
       Status: New

** Description changed:

  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.

** Changed in: glance
     Assignee: (unassigned) => Kairat Kushaev (kkushaev)

-- 
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:
  New
Status in glance_store:
  In Progress

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/+bug/1538482/+subscriptions