Created attachment 761208 [details] server log 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:
Created attachment 761209 [details] facter command output
the ami should be devenv_3661
This bug happens on all types of applications after creating jenkins. It happens on devenv-stage_376 as well.
Created attachment 761764 [details] return value of listing applications via RESTAPI 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>
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.
Bug reproducible in devenv_3368
Any existing account which having jenkins added will be broken due to this bug
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'
https://github.com/openshift/origin-server/pull/2861
https://github.com/openshift/origin-server/pull/2862
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/45b72ab338654c196aeb1dd95e3d15741576faf3 Bug 974507
Verified on STG(devenv_378) and devenv_3373 Can list apps via rhc and RESTAPI.