Bug 1006223

Summary: create command does not work for oo-admin-ctl-domain
Product: OpenShift Online Reporter: Nan Wei <nwei>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jhou, xtian
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: 2013-09-19 16:50:28 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 Nan Wei 2013-09-10 09:22:12 UTC
Description of problem:
When an existing user creating a namespace using "oo-admin-ctl-domain" in the broker, it returns “User nwei already exists.  Please use the 'update' command to alter ssh keys or namespace“.But if the user is non-exist, it create successfully.

Version-Release number of selected component (if applicable):
devenv_3762

How reproducible:
100%

Steps to Reproduce:
1. Ensure a user is exist and does not have a namespace.
2. Create a domain in the broker using oo-admin-ctl-domain.
   #oo-admin-ctl-domain -c create -l nwei -n domainname

Actual results:
The output of oo-admin-ctl-domain is the following:
User nwei already exists.  Please use the 'update' command to alter ssh keys or namespace

Expected results:
When the exist user creating a namespace using oo-admin-ctl-domain, it should create successfully.

Additional info:

Comment 1 Abhishek Gupta 2013-09-10 18:44:07 UTC
Fixed with --> https://github.com/openshift/origin-server/pull/3604

Comment 3 Jianwei Hou 2013-09-11 08:36:44 UTC
Verified on devnev_3770, this issue is fixed