Red Hat Bugzilla – Bug 985670
Documentation gives incorrect command for deleting a user's namespace
Last modified: 2017-03-08 12:35 EST
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
Steps to Reproduce:
1. Read Section 3.3, Procedure 3.4., Step 4.
I see the following: command
# oo-admin-ctl-domain -l username -c delete testdomain
I should see the following command (note the -n option before the domain name):
# oo-admin-ctl-domain -l username -c delete -n testdomain
I am referencing the Administration Guide using the following URL:
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):
In OSE 1.2, one can delete the domain if one specifies the -n option:
Also, as can be seen above, on OSE 1.2, it is necessary to delete the domain before one can delete the user.