Bug 789814 - Fail to embed phpmyadmin ,rockmongo,10gen-mms-agent with "Cannot find cartridge for dependency"
Summary: Fail to embed phpmyadmin ,rockmongo,10gen-mms-agent with "Cannot find cartr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 1.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Rajat Chopra
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-13 03:05 UTC by Johnny Liu
Modified: 2012-02-17 02:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-17 02:06:50 UTC
Target Upstream Version:


Attachments (Terms of Use)
detail logs (8.32 KB, text/plain)
2012-02-13 05:31 UTC, Xiaoli Tian
no flags Details

Description Johnny Liu 2012-02-13 03:05:46 UTC
Description of problem:
Fail to embed phpmyadmin to app with the following error:
$ rhc-ctl-app -a rubytest -e add-phpmyadmin-3.4 -p xx -d
Contacting https://ec2-23-20-77-41.compute-1.amazonaws.com
Problem reported from server. Response code was 500.

DEBUG:
Cannot find cartridge for dependency 'rhc-cartridge-php'/usr/lib/ruby/gems/1.8/gems/cloud-sdk-controller-0.4.2/lib/cloud-sdk-controller/app/models/component_instance.rb:154:in `get_cartridges_for_dependencies'
/usr/lib/ruby/gems/1.8/gems/cloud-sdk-controller-0.4.2/lib/cloud-sdk-controller/app/models/component_instance.rb:152:in `each'
/usr/lib/ruby/gems/1.8/gems/cloud-sdk-controller-0.4.2/lib/cloud-sdk-controller/app/models/component_instance.rb:152:in `get_cartridges_for_dependencies'
/usr/lib/ruby/gems/1.8/gems/cloud-sdk-controller-0.4.2/lib/cloud-sdk-controller/app/models/component_instance.rb:41:in `elaborate'
/usr/lib/ruby/gems/1.8/gems/cloud-sdk-controller-0.4.2/lib/cloud-sdk-controller/app/models/group_instance.rb:69:in `elaborate'
/usr/lib/ruby/gems/1.8/gems/cloud-sdk-controller-0.4.2/lib/cloud-sdk-controller/app/models/group_instance.rb:57:in `each'

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

RESULT:
Cannot find cartridge for dependency 'rhc-cartridge-php'


Version-Release number of selected component (if applicable):
ruby-cloud-sdk-common-0.4.2-1.git.0.84af454.el6.noarch
rubygem-cloud-sdk-controller-0.4.2-1.git.0.14d41a6.el6.noarch
rubygem-cloud-sdk-node-0.4.2-1.git.0.688d091.el6.noarch
ruby-cloud-sdk-controller-0.4.2-1.git.0.14d41a6.el6.noarch
ruby-cloud-sdk-node-0.4.2-1.git.0.688d091.el6.noarch
rubygem-cloud-sdk-common-0.4.2-1.git.0.84af454.el6.noarch
rhc-broker-0.86.2-1.git.27.f8ff104.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create an app
2. Embed mysql to this app
3. Embed phpmyadmin to this app
  
Actual results:
Fail to embed phpmyadmin to app

Expected results:
Should embed phpmyadmin successfully

Additional info:

Comment 1 Xiaoli Tian 2012-02-13 05:28:28 UTC
While trying to embed metrics ,rock-mongo, 10gen-mms-agent
,will encounter the same error messages:
For rockmongo ,metrics , met error messages like "Cannot find cartridge for dependency 'rhc-cartridge-php'" 

For 10gen-mms-agent, met error messages like "Cannot find cartridge for dependency 'pymongo' "

Comment 2 Xiaoli Tian 2012-02-13 05:31:48 UTC
Created attachment 561373 [details]
detail logs

The attachment is some error log in development.log

Comment 3 Xiaoli Tian 2012-02-13 06:05:18 UTC
While trying to embed phpmyadmin and rockmongo enven without embedding mysql and mongodb , it will fail with the same error like above ”Cannot find cartridge for
dependency 'rhc-cartridge-php'“

Comment 4 Krishna Raman 2012-02-13 21:45:09 UTC
Fixed in 866e847d9dbfd8045c4869d1eed8b95d4449a0a6

Comment 5 bzhao 2012-02-14 09:41:07 UTC
Passed verification against rhc-0.86.5-1.el6_2.noarch


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