Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 913390 - Can't delete domain by command oo-admin-ctl-domain
Can't delete domain by command oo-admin-ctl-domain
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
1.1.1
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: Jason DeTiberus
libra bugs
:
Depends On: 873181
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-21 02:20 EST by Ziqian SUN (Zamir)
Modified: 2017-03-08 12 EST (History)
8 users (show)

See Also:
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 15:50:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1031 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 1.2 Infrastructure Release Advisory 2013-07-09 19:48:02 EDT

  None (edit)
Description Ziqian SUN (Zamir) 2013-02-21 02:20:58 EST
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@redhat.com -n qgong11 -c create ~/.ssh/id_rsa.pub
2.Then delete this domain
$oo-admin-ctl-domain -l qgong+8@redhat.com -n qgong11 -c delete
3.
  
Actual results:
[root@ip-10-120-203-9 broker]# oo-admin-ctl-domain -l qgong+8@redhat.com -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 05:04:22 EST
This bug was cloned from Openshift_origin bug 873181.
Comment 4 Jason DeTiberus 2013-05-14 16:52:48 EDT
Fixed upstream and pulled in with rebase, please retest.
Comment 5 Johnny Liu 2013-05-15 07:35:40 EDT
Verified this bug with 1.2/2013-05-14.1 puddle, and PASS.

[root@broker ~]# oo-admin-ctl-domain -l jialiu2@redhat.com -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@redhat.com -n jialiu2 -c delete
Successfully deleted domain.
Comment 7 errata-xmlrpc 2013-07-09 15:50:04 EDT
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

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