yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #96015
[Bug 2114693] [NEW] Can't delete keypair as admin user - 404 not found
Public bug reported:
If I create a user in a separate domain and project, then I can create a
keypair for that user while logged in as that user.
I then set my credentials to an admin user. I can list the user's keypairs with:
openstack keypair list --user <user_name> --user-domain <user_domain>
However, if I try to delete a keypair with:
openstack keypair delete --user <user_name> --user-domain <user_domain> <keypair>
I get the error:
Failed to delete key with name '<name>': ResourceNotFound: 404 .... Keypair <name> not found for user <admin user's id>
When I look at the REST API calls with `--debug` I see that the CLI is
not using the `?user_id` query parameter for the DELETE call, hence it
is trying to delete a keypair of the admin user and not the target user.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2114693
Title:
Can't delete keypair as admin user - 404 not found
Status in OpenStack Compute (nova):
New
Bug description:
If I create a user in a separate domain and project, then I can create
a keypair for that user while logged in as that user.
I then set my credentials to an admin user. I can list the user's keypairs with:
openstack keypair list --user <user_name> --user-domain <user_domain>
However, if I try to delete a keypair with:
openstack keypair delete --user <user_name> --user-domain <user_domain> <keypair>
I get the error:
Failed to delete key with name '<name>': ResourceNotFound: 404 .... Keypair <name> not found for user <admin user's id>
When I look at the REST API calls with `--debug` I see that the CLI is
not using the `?user_id` query parameter for the DELETE call, hence it
is trying to delete a keypair of the admin user and not the target
user.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2114693/+subscriptions