← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1369008] Re: filter on image name should not use exact name

 

Glanceclient pass the name of the image to GET method, so I'm not sure that is  possible to filter it on the client site.
After more digging, I think that the right place to filter it, is in glance glance/registry/client/v1/client.py and send back to the client.
So it affects Glance project directly

** Project changed: python-glanceclient => 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/1369008

Title:
  filter on image name should not use exact name

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Horizon passes name filter into glanceclient is like name=cirros.
  cirros is the partial name of the cirros-0.3.2-x86_64-uec-kernel
  image. glance should use the partial name to do search instead of
  using it as exact name matching.

  The original bug reported in horizon like the following...after more
  digging, I moved the bug into glanceclient.

  
  "at Admin-> Images

  The filter on Image Name has to be exact the same as the image name.
  If I have the image names like the followings, it could be hard and
  not user friendly:

  Fedora-x86_64-20-20140618-sda
  cirros-0.3.2-x86_64-uec-kernel

  Think the image name filter should do the same way as instances
  table's instance name filter which uses contains, not the exact
  match."

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


References