Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 913390

Summary: Can't delete domain by command oo-admin-ctl-domain
Product: OpenShift Container Platform Reporter: Ziqian SUN (Zamir) <zsun>
Component: NodeAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 1.1.1CC: bleanhar, jdetiber, jialiu, libra-onpremise-devel, lmeyer, qgong, szhou, xjia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openshift-origin-broker-util-1.9.7-1.2.el6op Doc Type: Bug Fix
Doc Text:
Cause: oo-admin-ctl-domain had a bug blocking domain deletion. Consequence: Once a user has a domain, it could not be removed with oo-admin-ctl-domain; the admin would receive the message "User still has domains. Delete them first" Fix: oo-admin-ctl-domain fixed; install fixed openshift-origin-broker-util-1.9.7-1.2.el6op. Result: Can now delete user domains with this tool.
Story Points: ---
Clone Of: 873181 Environment:
Last Closed: 2013-07-09 19:50:04 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:
Bug Depends On: 873181    
Bug Blocks:    

Description Ziqian SUN (Zamir) 2013-02-21 07:20:58 UTC
Description of problem:
Can't delete domain by command oo-admin-ctl-domain

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

Openshift Enterprise Punddle 1.1.z/2013-02-18.3/

How reproducible:
always

Steps to Reproduce:
1.In broker, create domain by oo-admin-ctl-domain
$oo-admin-ctl-domain -l qgong+8 -n qgong11 -c create ~/.ssh/id_rsa.pub
2.Then delete this domain
$oo-admin-ctl-domain -l qgong+8 -n qgong11 -c delete
3.
  
Actual results:
[root@ip-10-120-203-9 broker]# oo-admin-ctl-domain -l qgong+8 -n qgong11 -c delete
User still has domains. Delete them first


Expected results:
Could delete domain successfully.

Additional info:

Comment 2 Ziqian SUN (Zamir) 2013-02-21 10:04:22 UTC
This bug was cloned from Openshift_origin bug 873181.

Comment 4 Jason DeTiberus 2013-05-14 20:52:48 UTC
Fixed upstream and pulled in with rebase, please retest.

Comment 5 Johnny Liu 2013-05-15 11:35:40 UTC
Verified this bug with 1.2/2013-05-14.1 puddle, and PASS.

[root@broker ~]# oo-admin-ctl-domain -l jialiu2 -n jialiu2 -c create -t ssh-rsa -s AAAAB3NzaC1yc2EAAAADAQABAAABAQDSv44aEPcObZkAN5VI8XHW23b7JL0wBftkPwtXwHF6ppxnvpIhQNyBy5crHWGrigEOGLsJWH7hmo/rfkELuhfpdaGIB582AAJ5Eeug+Fv7yQFQodCafALhh/piXXnJ7xsnFpy6Pz5OVuxC2nRoew8oqSIjKaHTdjzuSPNRviEKLTypcREtnQp7nCCTDm3NFjaM40tDA3/i9m708qViQHv5tqkdyrfLMu5Lq+oJMrzP911aCn3F0GTc+T/cUC/R2ay5wLhv9FT+eTrDSOsMFt9BZYFT+mfSyIJhaGuxB7OUQ3qf4RRMo+0hGINRSLldFtRaZiQUyqw6nKPR460MfgMN -k mykey
Successfully created user.
Successfully created domain.
[root@broker ~]# oo-admin-ctl-domain -l jialiu2 -n jialiu2 -c delete
Successfully deleted domain.

Comment 7 errata-xmlrpc 2013-07-09 19:50:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1031.html