Bug 1006223 - create command does not work for oo-admin-ctl-domain
Summary: create command does not work for oo-admin-ctl-domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 09:22 UTC by Nan Wei
Modified: 2015-05-15 00:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 16:50:28 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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