
The --project option of 'openstack keypair list' is supposed to filter keypairs by a project but has not been working and instead returns keypairs from all projects. The reason appears to be because it uses a request for a user list filtered by project but tenant_id/project_id is not a valid filter for GET /users. This fixes the issue by requesting role assignments for the specified project and then requesting keypairs for users with a role in the project. This change depends on a recent openstacksdk bug fix change Ic552dee83d56278d2b866de0cb365a0c394fe26a which fixed the user_id query parameter for the compute /os-keypairs APIs. The bug fix was released in openstacksdk 4.4.0. Closes-Bug: #2096947 Change-Id: Ibb5757766e3040e58d64388b95678fab9b2b6f23
17 lines
578 B
Plaintext
17 lines
578 B
Plaintext
# Requirements lower bounds listed here are our best effort to keep them up to
|
|
# date but we do not test them so no guarantee of having them all correct. If
|
|
# you find any incorrect lower bounds, let us know or propose a fix.
|
|
|
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
|
|
|
cryptography>=2.7 # BSD/Apache-2.0
|
|
cliff>=3.5.0 # Apache-2.0
|
|
iso8601>=0.1.11 # MIT
|
|
openstacksdk>=4.4.0 # Apache-2.0
|
|
osc-lib>=2.3.0 # Apache-2.0
|
|
oslo.i18n>=3.15.3 # Apache-2.0
|
|
python-keystoneclient>=3.22.0 # Apache-2.0
|
|
python-cinderclient>=3.3.0 # Apache-2.0
|
|
requests>=2.27.0 # Apache-2.0
|
|
stevedore>=2.0.1 # Apache-2.0
|