search_images filter not working for all fields since >=0.99.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstacksdk |
New
|
Undecided
|
Unassigned |
Bug Description
Greetings.
I was debugging a problem with the sdk when using search_images with filters where I am not able to filter for all existing fields.
What I found is that the problem was introduced with openstacksdk 0.99.0.
For example with >= 0.99.0 it is not possible to filter for attributed like protected, os_hidden, os_hash_algo and some more. Most importantly for us we are not able to filter on the properties dict anymore.
As an example we have images with the following property attached:
properties=
With openstacksdk 0.62.0 it is possible to filter all images by the uploaded_by field like:
images = conn.search_
Using version >= 0.99.0 the same filter results in an AttributeError which is triggered by [1]. The same AttributeError is triggered for the other mentioned fields.
The only thing that I found so far which might have caused this is the following change [2].
Maybe someone with more know-how about the openstacksdk could have a look what is broken here.
Thanks in advance!
[1] https:/
[2] https:/