Bug 1063191

Summary: [origin_node_324] Should show more information in the help of oo-admin-gear
Product: OpenShift Online Reporter: Meng Bo <bmeng>
Component: ContainersAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: dmcphers, jkeck
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: 2014-02-26 19:11:56 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 Meng Bo 2014-02-10 09:10:04 UTC
Description of problem:
There is no description for the tool oo-admin-gear and no way to get the available action list.
The help page should show such info.

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

How reproducible:
always

Steps to Reproduce:
1. SSH login to the node
2. # oo-admin-gear --help
3.

Actual results:
There is no description of the tool and available action list

Expected results:
Should tell the user what does the tool do and which action is supported by this in help page.

Additional info:
# oo-admin-gear help
Usage: oo-admin-gear --action ACTION --uuid UUID --app APP
    -A, --action ACTION              Specify action
    -u, --uuid UUID                  Requires user id
    -a, --app APP                    Requires app name

Comment 1 Lokesh Mandvekar 2014-02-10 15:06:44 UTC
Meng, Dan: I'm awaiting a merge for this: https://github.com/openshift/origin-server/pull/4704

could you take a look?

Comment 2 Dan McPherson 2014-02-11 02:44:24 UTC
https://github.com/openshift/origin-server/pull/4704

Comment 3 Meng Bo 2014-02-11 10:47:57 UTC
[root@ip-10-232-76-76 ~]# oo-admin-gear --help
Usage: oo-admin-gear --action ACTION --uuid UUID

Mandatory arguments: ACTION and gear UUID

    -a, --action ACTION              Specify action
Available actions: destroygear (cleanup stale files for a gear)

    -u, --uuid UUID                  Specify gear uuid


The help page of the tool is more readable. Verified on devenv_4358.