Bug 874799

Summary: oo-admin-chk '-h' option ignored
Product: OpenShift Container Platform Reporter: Steve Reichard <sreichar>
Component: NodeAssignee: Luke Meyer <lmeyer>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 1.2.0CC: bleanhar, lmeyer, scollier, wsun
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-31 20:32:29 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 Steve Reichard 2012-11-08 20:52:20 UTC
Description of problem:

The man page indicates that the '-h' option to oo-admin-chk will display a help dialog.  It appears to be ignored and runs the command.  

FTI, providing an invalid switch, the usage is displayed.
 



Version-Release number of selected component (if applicable):
[root@Abroker2 ~]# yum list installed openshift-origin-broker-util
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installed Packages
openshift-origin-broker-util.noarch                             1.0.4-1.el6op                              @openshift_infrastructure
[root@Abroker2 ~]# 



How reproducible:

very

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Brenton Leanhardt 2012-11-09 13:40:31 UTC
This will be fixed shortly after 1.0.

Comment 2 Wei Sun 2012-11-13 09:03:38 UTC
This bug also exist on hosted(Openshift Online).

devenv_2458

Actual results:
[root@ip-10-196-81-6 ~]# oo-admin-chk -h
Success
[root@ip-10-196-81-6 ~]# oo-admin-chk --help
Success

Comment 3 Wei Sun 2012-11-13 09:06:34 UTC
This bug also exist on hosted(Openshift Online).

devenv_2458

Actual results:
[root@ip-10-196-81-6 ~]# oo-admin-chk -h
Success
[root@ip-10-196-81-6 ~]# oo-admin-chk --help
Success

Comment 5 Luke Meyer 2012-12-13 19:25:35 UTC
-h should show usage and exit now.

Comment 6 xjia 2012-12-17 08:58:42 UTC
[root@broker ~]#  oo-admin-chk -h
== Synopsis

oo-admin-chk: Check all user applications

== Usage

oo-admin-chk OPTIONS

Options:
-v|--verbose
    Print information about each check being performed
-h|--help
    Show Usage info
[root@broker ~]# 

Version:
/OpenShiftEnterprise/1.1.x/2012-12-14.1/

Comment 8 errata-xmlrpc 2013-01-31 20:32:29 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/RHSA-2013-0220.html