Comment 1 for bug 1859759

Revision history for this message
Kristi Nikolla (knikolla) wrote :

Can you please run the `openstack role remove` command with the `--debug` flag?

I believe the above error is coming from the way that the openstack command line client checks to see if the argument provided is a name or an id, and fails because it cannot figure that out.

Can you please try to remove the role assignment directly using the REST API? See here https://docs.openstack.org/api-ref/identity/v3/#unassign-role-from-user-on-project

You can get a token using the command `openstack token issue -f value -c id` and then use that by filling in the token and ids in the below command.

`curl -i -X DELETE -H "X-Auth-Token: <token>" https://<keystone-hostname>/v3/projects/<project_id>/users/<user_id>/roles/<role_id>`