← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1528453] Re: Provide a ranking mechanism for glance-api to order locations

 

** Changed in: glance
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1528453

Title:
  Provide a ranking mechanism for glance-api to order locations

Status in Glance:
  Fix Released

Bug description:
  We have a setup consisting of multiple cells with their own glance-api
  servers. We have a global swift store that holds all the images, and
  we are exploring having local stores to increase efficiency. This can
  be done using image-locations in glance. (Thanks!)

  However, currently it is not possible for each cell to specify their
  custom ordering of image locations. The store_type location strategy
  does not work because more than one cell can have the same type of
  backend.

  If this is made possible, each cell can return the closest location
  for each glance image, and also do copy-on-write for local stores like
  RBD. This can be achieved by having another location_strategy that
  orders based on a ranking key in metadata.

  Opening a bug but I'll like this classified as a wishlist. Comments
  and suggestions are welcome!

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1528453/+subscriptions


References