Keystone remove_user command removing ALL users not just the specified ones

asked 2013-05-08 13:57:54 -0500

ldeluca gravatar image

updated 2013-06-07 04:17:16 -0500

jpichon gravatar image

I have the following code that works great in Folsom:

-- remove the user for each role associated with the user

user_roles = kc.users.list_roles(obj_id, currtenant)
for role in user_roles:
    if obj_id ==
        kc.tenants.remove_user(currtenant, obj_id,

That same code will remove ALL users rather than just the user with the id, obj_id from the tenant specified. anyone else have this issue in Grizzly?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2013-07-19 17:10:54 -0500

fifieldt gravatar image


Based on the long time this has been sitting here, maybe noone on knows what's going wrong. I'd instead encourage you to submit it as a bug report to keystone:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-05-08 13:57:54 -0500

Seen: 302 times

Last updated: Jul 19 '13