This bug could also be reproduced on OpenShift Enterprise 1.2: RC 1 puddle:http://download.lab.bos.redhat.com/rel-eng/OpenShiftEnterprise/1.2/2013-06-17.3 +++ This bug was initially created as a clone of Bug #974507 +++ Description of problem: I am unable to use my rhcsetup after creating jenkins-server and jbossas-7 app Version-Release number of selected component (if applicable): ami-id: ami-890c7ae0 How reproducible: Every time Steps to Reproduce: 1. Create a new user, run rhc setup 2. create a jenkins-1.4 app 3. Create a jbossas-7 app 4. Issue the command rhc apps Actual results: The server did not respond correctly. This may be an issue with the server configuration or with your connection to the server (such as a Web proxy or firewall). Please verify that you can access the OpenShift server https://ec2-184-72-213-22.compute-1.amazonaws.com/broker/rest/domains/ofajans1/applications Expected results: List of created apps is displayed Server log and server facter output are attached Additional info: --- Additional comment from ofayans on 2013-06-14 06:12:35 EDT --- --- Additional comment from xiaoli on 2013-06-14 08:52:43 EDT --- the ami should be devenv_3661 --- Additional comment from xiaoli on 2013-06-16 03:11:19 EDT --- This bug happens on all types of applications after creating jenkins. It happens on devenv-stage_376 as well. --- Additional comment from xiaoli on 2013-06-16 03:19:00 EDT --- while list applications via curl -k -X GET --user xtian+c1: 12 https://$dns/broker/rest/domains/4iu8v0u92n/applications <pre>undefined method `component_instances' for #<RestApplication:0x00000006e6ec30></pre> --- Additional comment from xiaoli on 2013-06-16 03:32:19 EDT --- This bug happens on current STG( which matches devenv-stage_375 as well), should be get hot-fixed before deploy it to PROD. It does not happen on current PROD yet. --- Additional comment from Zhe Wang on 2013-06-16 21:59:26 EDT --- Bug reproducible in devenv_3368 --- Additional comment from xiaoli on 2013-06-17 01:17:10 EDT --- Any existing account which having jenkins added will be broken due to this bug --- Additional comment from Dan McPherson on 2013-06-17 10:37:38 EDT --- Full Stack: ESC[0;37m2013-06-17 10:33:45.920ESC[0m [ESC[31mFATALESC[0m] NoMethodError (undefined method `component_instances' for #<R estApplication:0x00000005652ca0>): activemodel (3.2.8) lib/active_model/attribute_methods.rb:407:in `method_missing' openshift-origin-controller (1.10.1) app/rest_models/rest_application.rb:141:in `block (2 levels) in initialize' openshift-origin-controller (1.10.1) app/rest_models/rest_application.rb:140:in `each' openshift-origin-controller (1.10.1) app/rest_models/rest_application.rb:140:in `block in initialize' openshift-origin-controller (1.10.1) app/rest_models/rest_application.rb:137:in `each' openshift-origin-controller (1.10.1) app/rest_models/rest_application.rb:137:in `initialize' openshift-origin-controller (1.10.1) app/helpers/rest_model_helper.rb:8:in `new' openshift-origin-controller (1.10.1) app/helpers/rest_model_helper.rb:8:in `get_rest_application' openshift-origin-controller (1.10.1) app/controllers/applications_controller.rb:24:in `block in index' openshift-origin-controller (1.10.1) app/controllers/applications_controller.rb:24:in `map!' openshift-origin-controller (1.10.1) app/controllers/applications_controller.rb:24:in `index' --- Additional comment from Dan McPherson on 2013-06-17 11:21:31 EDT --- https://github.com/openshift/origin-server/pull/2861 --- Additional comment from Dan McPherson on 2013-06-17 11:23:04 EDT --- https://github.com/openshift/origin-server/pull/2862 --- Additional comment from openshift-github-bot on 2013-06-17 13:31:36 EDT --- Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/45b72ab338654c196aeb1dd95e3d15741576faf3 Bug 974507 --- Additional comment from Wei Sun on 2013-06-18 00:59:54 EDT --- Verified on STG(devenv_378) and devenv_3373 Can list apps via rhc and RESTAPI.
I'm thinking we want to cherry-pick this fix for 1.2.
https://github.com/openshift/enterprise-server/pull/85
Verify this bug on puddle: http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.2/2013-06-21.2/ [root@broker ~]# rpm -qa|grep rubygem-openshift-origin-controller rubygem-openshift-origin-controller-1.9.14-1.2.el6op.noarch After jenkins app was created, "rhc domain show" could list all the apps successfully, and jenkins build could be done.
Closing all bugs introduced, fixed, and verified during 1.2 release work (thus never shipped).