image query doesn't recognize protected param

Bug #1755862 reported by Karl Bielefeldt
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack SDK

Bug Description

Querying for a list of images that are not protected:


Yields the following exception:

  File "/home/kbielefe/source/nms-suite-openstack/venv/lib/python2.7/site-packages/openstack/", line 885, in list
    cls._query_mapping._validate(params, base_path=cls.base_path)
  File "/home/kbielefe/source/nms-suite-openstack/venv/lib/python2.7/site-packages/openstack/", line 252, in _validate
openstack.exceptions.InvalidResourceQuery: Invalid query params: protected

Docs list 'protected' as a valid query param here:

Adding 'protected' to the _query_mapping in image/v2/ produces the desired result.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.