+++ This bug was initially created as a clone of Bug #1099754 +++ Description of problem: Just display "invalid command. Use --help for more information" when run "oo-admin-ctl-gears", shoud show usage as below Usage: /usr/sbin/oo-admin-ctl-gears {startall|stopall|status|restartall|condrestartall|startgear|stopgear|restartgear|list} Version-Release number of selected component (if applicable): devenv_4800 How reproducible: always Steps to Reproduce: 1. login the instance and run the command "oo-admin-ctl-gears" Actual results: [root@ip-10-237-148-217 ~]# oo-admin-ctl-gears invalid command. Use --help for more information [root@ip-10-237-148-217 ~]# oo-broker oo-admin-ctl-gears 2014/05/21 03:33:27 Unable to locate oo-admin-ctl-gears Expected results: The usage of "oo-admin-ctl-gears" should be displayed as below. Usage: /usr/sbin/oo-admin-ctl-gears {startall|stopall|status|restartall|condrestartall|startgear|stopgear|restartgear|list} Additional info: N/A --- Additional comment from Jhon Honce on 2014-05-22 11:39:37 EDT --- Fixed in https://github.com/openshift/origin-server/pull/5438
Works for me on devenv. You do not need oo-broker to run oo-admin-ctl-gears.
It's fixed upstream; need to cherrypick it for OSE.
Upstream commit: commit aed34b8c6096c23a417bc35f12e31080611928f5 Author: Jhon Honce <jhonce> Date: Thu May 22 08:13:42 2014 -0700 Bug 1099754 - Set default_command to help * For scripts that use commander, set the default command to help
Verify this bug on puddle 2.1.z/2014-07-15.1 Run "oo-admin-ctl-gears", "oo-admin-gear", "oo-admin-repair-node", "oo-auto-idler", "oo-devel-node" on node, help page would be shown. Run "gear" in gears, help page would be shown.
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/RHBA-2014-0999.html