Can I remove a project from a user if the project no longer exists?

asked 2019-11-21 04:41:49 -0600

jengbers gravatar image

I am not sure how we ended up in this situation. A project no longer exists in OpenStack, but there is still a list of users associated with the project. I have tried to remove the project from those users, but get an error because the project doesn't exist:

$ openstack role remove --user <user_id> --project <project_id> admin
No project with a name or ID of '<project_id>' exists.

I have tried $ openstack project purge <project_id>, but that has the same problem.

Anyone knows a solution?

edit retag flag offensive close merge delete



I had the same issue a while ago, I had to change the respective entries in the keystone database. I'd be happy to hear if there are easier ways. But as always: take a backup before changing the database and be really careful!

eblock gravatar imageeblock ( 2019-11-22 02:00:59 -0600 )edit