Bug 811423

Summary: I'm able to create more than one namespace using rhc client tools
Product: OKD Reporter: Nam Duong <nduong>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.xCC: jofernan, mmcgrath, 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: 2012-04-11 02:18:54 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:
Embargoed:

Description Nam Duong 2012-04-11 02:09:08 UTC
Description of problem:
I'm on production and am able to create more than one namespace:
----
Nams-MacBook-Pro:.openshift nduong$ rhc domain create -n nduong -l nduong+mac
Password: 
OpenShift Express key found at /Users/nduong/.ssh/libra_id_rsa.  Reusing...
Checking ~/.ssh/config
Found rhcloud.com in ~/.ssh/config... No need to adjust
Creation successful

You may now create an application.

Nams-MacBook-Pro:.openshift nduong$ rhc domain create -n nduong2 -l nduong+mac
Password: 
OpenShift Express key found at /Users/nduong/.ssh/libra_id_rsa.  Reusing...
Checking ~/.ssh/config
Found rhcloud.com in ~/.ssh/config... No need to adjust
Creation successful

You may now create an application.
---

Problem is, none of the tools/UI take this business logic change into account - e.g., I can't switch from one to the other using the rhc client tools or Web UI (assuming same for Eclipse plugin)

I'm not able destroy a newly created namespace at this point either:
---
Nams-MacBook-Pro:.openshift nduong$ rhc domain destroy -n nduong2 -l nduong+mac
Password: 
Problem reported from server. Response code was 400.
Re-run with -d for more information.

RESULT:
Could not delete domain.Domain has valid applications.
---

Comment 1 Mike McGrath 2012-04-11 02:11:20 UTC
Side note: Lets make sure we get some automated tests for this if they're not there already.

Comment 2 Xiaoli Tian 2012-04-11 02:18:54 UTC
It's similar to bug 807574, let me close it as duplicate, if not ,feel free to open it

*** This bug has been marked as a duplicate of bug 807574 ***