Red Hat Bugzilla – Bug 859292
It returns error message when creating scalable app via rhc client
Last modified: 2015-05-14 22:05:03 EDT
Description of problem:
Create scalable app via "rhc app create -a app1 -t php-5.3 -s" will get NoMethodError but the app is created successfully on instance.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create scalable app via CLI
rhc app create -a app1 -t php-5.3 -s
Get error message like following but the app is created successfully
Creating application: php1s in bmengdev
/usr/lib/ruby/gems/1.8/gems/rhc-0.99.2/lib/rhc-common.rb:522:in `create_app': undefined method `uuid' for #<Hash:0xb69a1b20> (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rhc-0.99.2/bin/rhc-app:229:in `create_app'
from /usr/bin/rhc-app:19:in `load'
App should be created successfully and return correct info from client side.
App can be created successfully on instance.
Raise its severity and priority since it will block all automation testing.
This is fixed in my commands-merge branch. Will be rolling an ami tomorrow though other things may have broken.
master - https://github.com/openshift/rhc/pull/167
This issue only shows up in master so no hotfix needed for staging
Verified it with the rhc built in
fork_ami_US2597_US2599_US2813_US2817_US2872_173 against the latest devenv(devenv_2248) on Fedora17 with ruby-1,9 and git version 18.104.22.168.
Although there are still problem for other platforms, but it seems a different bug, will fill another bug to track.
[root@F17x64-openshift test]# rhc app create scaleruby1 ruby-1.9 -s -l email@example.com
Creating application 'scaleruby1'
Gear Size: default
Your application's domain name is being propagated worldwide (this might take a minute)...
The authenticity of host 'scaleruby1-domx5.dev.rhcloud.com (22.214.171.124)' can't be established.
RSA key fingerprint is 71:92:68:7d:19:dc:2e:de:8f:e5:83:92:f9:1b:95:a5.
Are you sure you want to continue connecting (yes/no)? yes
Cloning into 'scaleruby1'...
Application scaleruby1 was created.