Bug 999791 - Almost always meet "uninitialized constant RHC::Rest::Client::Set" when creating/controlling scaling apps via RHC
Summary: Almost always meet "uninitialized constant RHC::Rest::Client::Set" when creat...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-22 07:01 UTC by Zhe Wang
Modified: 2015-05-15 02:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 12:54:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Zhe Wang 2013-08-22 07:01:09 UTC
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:

Comment 1 Zhe Wang 2013-08-22 08:14:32 UTC
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.

Comment 2 Yan Du 2013-08-22 08:40:37 UTC
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

Comment 3 Jessica Forrester 2013-08-22 15:35:00 UTC
Fixed in master: https://github.com/openshift/rhc/pull/448
Fixed in stage: https://github.com/openshift/rhc/pull/449

Comment 4 openshift-github-bot 2013-08-22 16:23:32 UTC
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

Comment 5 Lei Zhang 2013-08-23 07:37:57 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.