Description of problem: Given no namespace has been added, create app directly, messages shows "...or leave it blank and use 'rhc create-domain' to create a namespace later...", when leave it black and enter, "Namespace is required and cannot be blank" warning info shows. User has no ways to "leave it blank and create a namespace later". Version-Release number of selected component (if applicable): devenv_3456 rhc 1.11.2 How reproducible: always Steps to Reproduce: 1. rhc app create -a testapp -t php-5.3 2. "Please enter a namespace (letters and numbers only): " shows and then leave it blank and enter 3. Actual results: Messages "...or leave it blank and use 'rhc create-domain' to create a namespace later..." is inconsistent. Expected results: Messages should not be inconsistent. Additional info: [rayzhang@rayzhang Work]$ rhc app create -a testapp -t php-5.3 Checking your namespace ... none Your namespace is unique to your account and is the suffix of the public URLs we assign to your applications. You may configure your namespace here or leave it blank and use 'rhc create-domain' to create a namespace later. You will not be able to create applications without first creating a namespace. Please enter a namespace (letters and numbers only): Namespace is required and cannot be blank. Please enter a namespace (letters and numbers only): Namespace is required and cannot be blank. Please enter a namespace (letters and numbers only): Namespace is required and cannot be blank.
Fixed in https://github.com/openshift/rhc/pull/423
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/24bc69b65e194c34d56167160c3ce5ba828dbf77 Bug 982135 - Namespace optional should affect the message displayed
Verified on devenv_3471, the bug has been fixed successfully, so move it to verified [rayzhang@rayzhang Work]$ rhc setup OpenShift Client Tools (RHC) Setup Wizard This wizard will help you upload your SSH keys, set your application namespace, and check that other programs like Git are properly installed. Using an existing token for lzhang to login to ec2-50-19-33-4.compute-1.amazonaws.com Saving configuration to /home/rayzhang/.openshift/express.conf ... done Checking for git ... found git version 1.7.1 Checking common problems .. done Checking your namespace ... none Your namespace is unique to your account and is the suffix of the public URLs we assign to your applications. You may configure your namespace here or leave it blank and use 'rhc create-domain' to create a namespace later. You will not be able to create applications without first creating a namespace. Please enter a namespace (letters and numbers only) |<none>|: [rayzhang@rayzhang Work]$ rhc app create -a testapp -t php-5.3 Checking your namespace ... none Your namespace is unique to your account and is the suffix of the public URLs we assign to your applications. You will not be able to create applications without first creating a namespace. Please enter a namespace (letters and numbers only): Namespace is required and cannot be blank.