Description of problem: It will return exception when use command "rhc-create-domain" after delete the .openshift directory. Version-Release number of selected component (if applicable): rhc-0.93.15-1.el6_2.noarch How reproducible: always. Steps to Reproduce: 1.use command "rhc setup" and input your information. 2.remove the directory ~/.openshift. 3.use old command "rhc-create-domain -n domaintest0003" #the user must don't have any domain. Actual results: It will return exception. [root@localhost home]# rhc-create-domain -n domaintest0003 -l yquan Password: ********* OpenShift key found at /root/.ssh/id_rsa. Reusing... /usr/lib/ruby/gems/1.8/gems/rhc-0.93.15/lib/rhc-common.rb:1027:in `initialize': No such file or directory - /root/.openshift/express.conf (Errno::ENOENT) from /usr/lib/ruby/gems/1.8/gems/rhc-0.93.15/lib/rhc-common.rb:1027:in `open' from /usr/lib/ruby/gems/1.8/gems/rhc-0.93.15/lib/rhc-common.rb:1027:in `add_rhlogin_config' from /usr/lib/ruby/gems/1.8/gems/rhc-0.93.15/bin/rhc-create-domain:147 from /usr/local/bin/rhc-create-domain:19:in `load' from /usr/local/bin/rhc-create-domain:19 Expected results: It should create domain successfully. And should also have "rhc setup" wizard steps. Additional info:
Unfortunately the wizard removed the config generation code but I am punting this so it doesn't hold up the release since rhc-create-domain is deprecated for rhc create-domain. Will fix early next sprint.
rhc domain create that is
*** Bug 826471 has been marked as a duplicate of this bug. ***
fixed version rhc-0.94.7-1.el6_3.noarch