Bug 1028999
Summary: | -a option does not work for oo-install tools | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
Component: | Containers | Assignee: | Luke Meyer <lmeyer> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.0.0 | CC: | libra-onpremise-devel, lmeyer |
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-12-16 09:11:08 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
Johnny Liu
2013-11-11 12:59:09 UTC
This is a matter of getting the parameters passed from the bootstrap script to the actual installer. Two simple workarounds for the moment: 1. run with "-e -a" in quotes. 2. just run with -a ; -e is assumed by the ose-specific install scripts To make this work in a less surprising way I think we should change the following in the bootstrap script: # Grab command-line arguments args=("$@") [...] GEM_PATH=$GEMPATH RUBYLIB=$RUBYLIB OO_INSTALL_CONTEXT=ose sh -c "${TMPDIR}oo-install-ose-2.0b-20131108-2228/bin/oo-install $@" To this: # Grab command-line arguments cmdlnargs="$@" [...] GEM_PATH=$GEMPATH RUBYLIB=$RUBYLIB OO_INSTALL_CONTEXT=ose sh -c "${TMPDIR}oo-install-ose-2.0b-20131108-2228/bin/oo-install $cmdlnargs" This seems to pass through the args as expected, whether quoted or not, and whether added to the end of "sh <(curl ...)" or just directly on the downloaded script. Script has been updated re https://github.com/openshift/openshift-extras/pull/169 Verified this bug with oo-install-ose-2.0b-20131111-2053 and PASS. Run "./oo-install -e -a" and "./oo-install -e", you will see the difference. -a option takes effect now. |