This change fixes the query being used to filter share
types. We were using an "or" clause instead of an "and" clause,
and that was causing all the extra specs to be shown instead of
the ones that the user specified. With this fix, manila users will
be able to filter shares by share type extra_specs accurately.
Closes-Bug: #1929121
Change-Id: I5cf9788dcafebdf88426617d2824f4be42dbb412
(cherry picked from commit 4fbacf1df1dbe7a85726e22892d462b5b7c4e316)
(cherry picked from commit 59a0c147df9e9255b3199fbb6846311f0fe8cef1)
(cherry picked from commit 21d5b1b209e6f45b9e689223c4d310dd4ed49b01)
(cherry picked from commit d57958a1eac38b045495abbb371f18591f4cb30b)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/806524 /opendev. org/openstack/ manila/ commit/ 864ca2d6b57c6e6 277817f6e59ecf3 db9e9bdd5f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 864ca2d6b57c6e6 277817f6e59ecf3 db9e9bdd5f
Author: Kafilat Adeleke <email address hidden>
Date: Tue Jun 8 08:27:44 2021 +0000
Filter shares by share type "extra_specs"
This change fixes the query being used to filter share
types. We were using an "or" clause instead of an "and" clause,
and that was causing all the extra specs to be shown instead of
the ones that the user specified. With this fix, manila users will
be able to filter shares by share type extra_specs accurately.
Closes-Bug: #1929121
Change-Id: I5cf9788dcafebd f88426617d2824f 4be42dbb412 85726e22892d462 b5b7c4e316) 5b3199fbb684631 1f0fe8cef1) b9e689223c4d310 dd4ed49b01) 45495abbb371f18 591f4cb30b)
(cherry picked from commit 4fbacf1df1dbe7a
(cherry picked from commit 59a0c147df9e925
(cherry picked from commit 21d5b1b209e6f45
(cherry picked from commit d57958a1eac38b0