Bug 1021015

Summary: running gear restart --all in app's shell results in traceback.
Product: OpenShift Online Reporter: Peter Ruan <pruan>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.x   
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: 2013-10-18 19:34:28 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 Peter Ruan 2013-10-18 19:07:15 UTC
Description of problem:
running gear restart --all in app's shell results in traceback.

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

How reproducible:
always

Steps to Reproduce:
1. create an app of any type.
2. ssh into app's shell
3. gear restart --all

Actual results:
olp1gvdo-lvt0u1.rhcloud.com 52601e41e0b8cde4df000021]\> gear restart --all
/opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:69:in `abort': can't convert OptionParser::InvalidOption into String (TypeError)
	from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:69:in `rescue in run!'
	from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:61:in `run!'
	from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/delegates.rb:11:in `run!'
	from /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/import.rb:10:in `block in <top (required)>'


Expected results:
all gears to be strated w/o prompt.

Additional info:

Comment 1 Peter Ruan 2013-10-18 19:34:28 UTC
the --all option is not published to PROD yet, worked in DEVENV>