Reviewed: https://review.openstack.org/449108 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=d6068bec44e179174bcde8c13827caf1ac738c5a Submitter: Jenkins Branch: master
commit d6068bec44e179174bcde8c13827caf1ac738c5a Author: space <[email protected]> Date: Thu Mar 23 08:03:38 2017 -0400 Add 'protected' filter to image-list call Implements v2 API image-list filtering on the 'protected' property following the spec: https://git.openstack.org/cgit/openstack/glance-specs/tree/specs/pike /approved/glance/add-protected-filter.rst The 'protected' query string parameter accepts one of 'true', 'false'. Any other value raises a 400 with an appropriate message. See the discussion on https://review.openstack.org/#/c/451560/ for why this implementation strategy was chosen. Change-Id: Ie90d952edddd3f69b3f489f056ff506e63f96376 Closes-Bug: #1674246 ** Changed in: glance Status: In Progress => 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/1674246 Title: Image filtering does not work for "protected" property Status in Glance: Fix Released Status in OpenStack Dashboard (Horizon): New Bug description: NOTE(rosmaita): this is actually a feature request. As it will impact the API (even slightly), it requires a spec because there's some question about how it should behave when values that don't make sense as a boolean are provided in a query string. The discussion is taking place on https://review.openstack.org/#/c/451560/ NOTE(makowals): Sorry, but I cannot agree, at least from Horizon perspective it's a bug. The filtering functionality (entry in a droplist) exists but does not work as expected and just confuses our users. If the feature does not exists in Glance it should be then removed from Horizon completely before implemented in Glance, but definitely not be exposed and point to something returning wrong result. When trying to filter images by "Protected: yes", it always shows result of the filter "Protected: no", making it impossible to show only images which are protected. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1674246/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

