Bug 874799 - oo-admin-chk '-h' option ignored
Summary: oo-admin-chk '-h' option ignored
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-08 20:52 UTC by Steve Reichard
Modified: 2017-03-08 17:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-31 20:32:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0220 0 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 1.1 update 2013-02-01 01:23:24 UTC

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


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