Hide Forgot
Description of problem: When creating an app, it sometimes reports the following error: Creating application 'as' ... An unexpected error occured: uninitialized constant RHC::Rest::Client::Set Moreover, the problem is more frequent to reproduce when creating a scaling app Version-Release number of selected component (if applicable): devenv-stage_448 rhc-1.13.5 How reproducible: Sometimes for non-scaling apps. Almost always when creating a scaling app Steps to Reproduce: 1. create a scaling app Actual results: The creation failed with the error: [zhe@fedora run11]$ rhc app create as jbossas-7 Application Options ------------------- Namespace: stg448tst Cartridges: jbossas-7 Gear Size: default Scaling: yes Creating application 'as' ... An unexpected error occured: uninitialized constant RHC::Rest::Client::Set Expected results: It should be successful to create a JBoss app. Additional info:
This bug becomes more frequent when creating scaling apps with rhc-1.13.5. Moreover, I have not met this error after switching to rhc-1.13.3.
seems the bug can be reproduced when controlling scalable app: [root@Daphne test]# rhc stop-app phps An unexpected error occured: uninitialized constant RHC::Rest::Client::Set [root@Daphne test]# rhc start-app phps An unexpected error occured: uninitialized constant RHC::Rest::Client::Set
Fixed in master: https://github.com/openshift/rhc/pull/448 Fixed in stage: https://github.com/openshift/rhc/pull/449
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/ecb313c68ef37ec2519b0a2ad3b5410ce5ab2b60 Bug 999791 - uninitialized constant RHC::Rest::Client::Set
verified on devenv-stage-452 and rhc-1.13.6 [rayzhang@rayzhang Work]$ rhc app create myjbossas7s jbossas-7 -s Application Options ------------------- Namespace: rayzhang Cartridges: jbossas-7 Gear Size: default Scaling: yes Creating application 'myjbossas7s' ... HAProxy instance is started Artifact: ./ROOT.war is still deploying done Artifacts deployed: ./ROOT.war Waiting for your DNS name to be available ... done Cloning into 'myjbossas7s'... The authenticity of host 'myjbossas7s-rayzhang.dev.rhcloud.com (23.22.99.113)' can't be established. RSA key fingerprint is 99:5e:73:1c:bc:dd:3d:51:3a:08:d9:18:ea:6b:da:d5. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'myjbossas7s-rayzhang.dev.rhcloud.com' (RSA) to the list of known hosts. Your application 'myjbossas7s' is now available. URL: http://myjbossas7s-rayzhang.dev.rhcloud.com/ SSH to: 517786280755997270081536.rhcloud.com Git remote: ssh://517786280755997270081536.rhcloud.com/~/git/myjbossas7s.git/ Cloned to: /home/rayzhang/Work/myjbossas7s Run 'rhc show-app myjbossas7s' for more details about your app.