Description of problem: use 'oo-app-create' to create app. will show errors if it is missing options '--with-namespace' and '--with-app-name'. Version-Release number of selected component (if applicable): devenv_stage_448 How reproducible: always Steps to Reproduce: 1. ssh into instance 2. create one app use 'oo-app-create' missing option '--with-namespace' and '--with-app-name' oo-app-create --with-app-uuid 271328262351287679451152 --with-container-uuid 271328262351287679451152 Actual results: oo-app-create --with-app-uuid 271328262351287679451152 --with-container-uuid 271328262351287679451152 can't convert nil into String /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-common-1.13.5/lib/openshift-origin-common/utils/path_utils.rb:64:in `join' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-common-1.13.5/lib/openshift-origin-common/utils/path_utils.rb:64:in `join' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.13.9/lib/openshift-origin-node/model/application_container_ext/setup.rb:61:in `initialize_homedir' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-container-selinux-0.2.1/lib/openshift/runtime/containerization/selinux_container.rb:68:in `create' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.13.9/lib/openshift-origin-node/model/application_container.rb:174:in `block in create' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.13.9/lib/openshift-origin-node/model/application_container.rb:169:in `open' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.13.9/lib/openshift-origin-node/model/application_container.rb:169:in `create' /usr/bin/oo-app-create:104:in `<main>' Expected results: should not show this errors and give a help message Additional info:
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/0bedf0b06ce12185aef877cd28849e6c74d3eac5 Bug 999859 - Check required arguments for oo-app-create command
Tested this issue on devenv_3716, it has been fixed oo-app-create --with-app-uuid 271328262351287679451152 --with-container-uuid 271328262351287679451152 ERROR: Missing required --with-app-name argument == Synopsis /usr/bin/oo-app-create: Creates a new application container. This command must be run as root. == Usage /usr/bin/oo-app-create --with-app-uuid e335712492e011e1bae700262df50034 \ --with-container-uuid 1c3a5f7a92e111e188d800262df50034 \ --with-namespace mydomain \ --with-app-name myapp