Bug 802221 - unexpected error occurs when embedding phpmoadmin to app
Summary: unexpected error occurs when embedding phpmoadmin to app
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Rajat Chopra
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-12 06:50 UTC by Meng Bo
Modified: 2012-03-19 18:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-19 18:22:41 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Meng Bo 2012-03-12 06:50:03 UTC
Description of problem:
got 500 error when try to embed phpmoadmin to an app with mongodb embedded. and after that, all the cartridges cannot be embedded to this app.

Version-Release number of selected component (if applicable):
rhc-cartridge-phpmoadmin-1.0-0.7.2-1.el6_2.noarch

How reproducible:
always

Steps to Reproduce:
1.create app
# rhc app create -a php1 -t php-5.3
2.embed mongodb to it
# rhc app cartridge add -a php1 -c phpmoadmin-1.0
3.
  
Actual results:
Problem reported from server. Response code was 500.

DEBUG:
undefined method `get_component_definition' for nil:NilClass/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/whiny_nil.rb:48:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/component_instance.rb:80:in `establish_connections'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/application.rb:1234:in `elaborate_descriptor'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/application.rb:1231:in `each'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/application.rb:1231:in `elaborate_descriptor'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/application.rb:1018:in `add_dependency'

Exit Code: 1
api_c: placeholder
broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
API version:    1.1.3

RESULT:
undefined method `get_component_definition' for nil:NilClass


Expected results:
phpmoadmin should be embedded without any problems

Additional info:
rhc-domain-info:
Application Info
================
php1
    Framework: php-5.3
     Creation: 2012-03-12T02:44:12-04:00
         UUID: 3e5c610e5e8e4b8c8e9706dc4dbf7f69
      Git URL: ssh://3e5c610e5e8e4b8c8e9706dc4dbf7f69.rhcloud.com/~/git/php1.git/
   Public URL: http://php1-bmengdev10.dev.rhcloud.com/

 Embedded: 
      phpmoadmin-1.0
      mongodb-2.0 - Connection URL: mongodb://127.1.2.129:27017/




When try to embedded other cartridges:
Problem reported from server. Response code was 500.

DEBUG:
undefined method `get_component_definition' for nil:NilClass/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/whiny_nil.rb:48:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/component_instance.rb:80:in `establish_connections'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/application.rb:1234:in `elaborate_descriptor'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/application.rb:1231:in `each'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/application.rb:1231:in `elaborate_descriptor'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.6.5/lib/stickshift-controller/app/models/application.rb:1018:in `add_dependency'

Exit Code: 1
broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
api_c: placeholder
API version:    1.1.3

RESULT:
undefined method `get_component_definition' for nil:NilClass

Comment 1 Rajat Chopra 2012-03-13 00:11:57 UTC
Fixed with rev# cee79cd9760eb1e1aa21b440f5b32b2ea5054289

Comment 2 Meng Bo 2012-03-13 04:42:50 UTC
verified on devenv_1659, bug has been fixed.


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