Bug 974507
Summary: | Creating any type of app after jenkins-server ruins listing apps list via rhc, console, restapi on STG and devenv | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Oleg Fayans <ofayans> | ||||||||
Component: | Pod | Assignee: | Lili Nader <lnader> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 1.x | CC: | adietish, amarecek, dmcphers, mfisher, mpatel, wsun, xtian, zhewang | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | |||||||||||
: | 975370 (view as bug list) | Environment: | |||||||||
Last Closed: | 2013-06-24 14:55:38 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 975370 | ||||||||||
Attachments: |
|
Description
Oleg Fayans
2013-06-14 10:11:53 UTC
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' 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. |