Bug 985670 - Documentation gives incorrect command for deleting a user's namespace
Documentation gives incorrect command for deleting a user's namespace
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation (Show other bugs)
1.2.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: bmoss
ecs-bugs
: Documentation
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-18 00:29 EDT by Miciah Dashiel Butler Masters
Modified: 2017-03-08 12 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-29 00:37:30 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)

  None (edit)
Description Miciah Dashiel Butler Masters 2013-07-18 00:29:51 EDT
Description of problem:
In Section 3.3. "Removing User Data" of the Administration Guide, the command for deleting the user's domain is missing the -n flag.


Version-Release number of selected component (if applicable):
OpenShift Enterprise Administration Guide Edition 1.2


How reproducible:
Completely.


Steps to Reproduce:
1. Read Section 3.3, Procedure 3.4., Step 4.


Actual results:
I see the following: command

    # oo-admin-ctl-domain -l username -c delete testdomain


Expected results:
I should see the following command (note the -n option before the domain name):

    # oo-admin-ctl-domain -l username -c delete -n testdomain


Additional info:
I am referencing the Administration Guide using the following URL:

https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/1/html-single/Administration_Guide/index.html#sect-OpenShift_Enterprise-Administration_Guide-Removing_User_Data

Without the -n option, the domain argument is ignored, and oo-admin-ctl-domain tries to delete the user (this is on OSE 1.2):

    # oo-admin-ctl-domain -l demo -c delete testdomain
    User still has domains. Delete them first.

I notice that OSE 1.1 didn't even offer a way to delete the domain (I haven't checked whether it is possible to delete a user who has a domain):

https://github.com/openshift/enterprise-server/blob/enterprise-1.1/broker-util/oo-admin-ctl-domain#L111

In OSE 1.2, one can delete the domain if one specifies the -n option:

https://github.com/openshift/enterprise-server/blob/enterprise-1.2/broker-util/oo-admin-ctl-domain#L234

Also, as can be seen above, on OSE 1.2, it is necessary to delete the domain before one can delete the user.

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