Bug 1331876 - Users cannot be deleted from domain list
Summary: Users cannot be deleted from domain list
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Rory Thrasher
QA Contact: DeShuai Ma
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 21:28 UTC by Eric Jones
Modified: 2019-11-14 07:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-25 19:58:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Eric Jones 2016-04-29 21:28:20 UTC
Description of problem:
Domain A has a list of users and when an admin or other appropriate user attempts to delete any of the users from the domain they get the message `User "<USERNAME>" is not a member of domain A`.

Version-Release number of selected component (if applicable):
OpenShift Enterprise v2.0

How reproducible:
100%

Steps to Reproduce:
1. Create barebones all in one v2 instance
2. Load customer database using 
`mongorestore -d test dump/openshift_broker/ -u admin -p admin`
3. list the members of the domain
`oo-admin-ctl-domain -l cardappdacq -n cardappdacq -c list_members`
4. select one and attempt to delete the user
`oo-admin-ctl-domain -l cardappdacq -n cardappdacq -c remove_member -m <USERA>`

Actual results:
The error message below:
User "<USERA>" is not a member of domain "<Domain A>"

Expected results:
<USERA> is deleted or <USERA> is not listed in the list if hthey aren't in the domain.

Additional info:
After looking at the database dump, it appears that the members listed might not be accurate as there are a few users listed that are not supposed to be a part of Domain A which is why they might get the above error message


Note You need to log in before you can comment on or make changes to this bug.