Ask Your Question
1

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 == user.id:
        kc.tenants.remove_user(currtenant, obj_id, role.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
1

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

fifieldt gravatar image

Hi,

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 270 times

Last updated: Jul 19 '13