Bug 1331876

Summary: Users cannot be deleted from domain list
Product: OpenShift Container Platform Reporter: Eric Jones <erjones>
Component: NodeAssignee: Rory Thrasher <rthrashe>
Status: CLOSED INSUFFICIENT_DATA QA Contact: DeShuai Ma <dma>
Severity: low Docs Contact:
Priority: low    
Version: 2.0.0CC: aos-bugs, erich, erjones, jokerman, mmccomas, rthrashe, tiwillia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-25 19:58:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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