Hide Forgot
Description of problem: After setting up a containerized environment, run oadm/oc command on the master host, if there's spaces in the option, the command couldn't get executed properly. Version-Release number of selected component (if applicable): https://github.com/openshift/openshift-ansible -b master How reproducible: Always Steps to Reproduce: 1.Setting up a containerized environment using latest openshift-ansible 2.Create a new project on the master host [root@openshift-145 ~]# oadm new-project test --display-name="Web Team Development" --description="Development project for the web team." error: you must specify one argument: project name See 'oadm new-project -h' for help and examples. Actual results: Create project failed. Expected results: Should run successfully Additional info: This issue is also blocking the normal containerized installation, ansible would create "management-infra" project with "--description=Management Infrastructure" during the master setup, but failed on this step.
Proposed fix in this PR https://github.com/openshift/openshift-ansible/pull/1115 You may try it by : git checkout -b bz1295677 git pull https://github.com/sdodson/openshift-ansible bz1295677
Install a containerized env with https://github.com/sdodson/openshift-ansible -b bz1295677 [root@openshift-v3 ~]# oadm new-project test --display-name="test prject" Created project test [root@openshift-v3 ~]# oc get project NAME DISPLAY NAME STATUS default Active management-infra Active openshift Active openshift-infra Active test test prject Active The issue is fixed, thanks!
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. https://access.redhat.com/errata/RHBA-2016:0075