Bug 1199297

Summary: jboss-cli.sh can't handle options properly
Product: OpenShift Online Reporter: Aleksandar Kostadinov <akostadi>
Component: ImageAssignee: Ben Parees <bparees>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: akostadi, jokerman, mmccomas
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: 2015-03-05 21:51:21 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 Aleksandar Kostadinov 2015-03-05 21:24:21 UTC
Description of problem:
inside gear:
> [54f9053eb23e88007c000004-s1jlbe.dev.rhcloud.com 54f9053eb23e88007c000004]\> jboss-cli.sh --controller $OPENSHIFT_JBOSSEAP_IP:9999
> Duplicate argument '--command'/'--commands'.

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

How reproducible:
always

Steps to Reproduce:
1. just run te above commands in an jbosseap6 gear

Comment 1 Ben Parees 2015-03-05 21:34:53 UTC
we're just invoking the jboss provided jboss-cli.sh script, is this not a jboss bug rather than an openshift specific bug?

Comment 2 Aleksandar Kostadinov 2015-03-05 21:51:21 UTC
my bad, it should be actually:
> jboss-cli.sh --controller=$OPENSHIFT_JBOSSEAP_IP:9999