Bug 912601 - Can't show db cartridge's status
Summary: Can't show db cartridge's status
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-19 07:11 UTC by Wei Sun
Modified: 2015-05-15 02:14 UTC (History)
0 users

Fixed In Version: devenv_2833
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-15 14:13:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
broker log (21.43 KB, application/octet-stream)
2013-02-19 07:11 UTC, Wei Sun
no flags Details

Description Wei Sun 2013-02-19 07:11:52 UTC
Created attachment 699341 [details]
broker log

Description of problem:
Create an application with db cartridge,and check db cartridge's status,but it doesn't show db cartridge's status,and nothing is shown.

Check log,has some error messages like
2013-02-19 01:57:17.588 [ERROR] wrong number of arguments (3 for 2) (pid:2200)
2013-02-19 01:57:17.588 [ERROR] #<ArgumentError: wrong number of arguments (3 for 2)> (pid:2200)
2013-02-19 01:57:17.589 [ERROR] ["/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-msg-broker-mcollective-1.5.2/lib/openshift/mcollective_application_container_proxy.rb:1062:in `status'", 


Version-Release number of selected component (if applicable):
devenv_2830
rhc 1.5.1

How reproducible:
Always

Steps to Reproduce:
1.create an application
2.add db cartridge to the app
3.show db cartridge's status
  
Actual results:
[sunwei@dhcp-8-229 dev]$ rhc cartridge status mysql-5.1 -a jbosstest -p redhat 
RESULT:
[sunwei@dhcp-8-229 dev]$ 

Expected results:
Can show db cartridge's status

Additional info:

Please refer to log attachment.

Comment 2 openshift-github-bot 2013-02-19 15:19:00 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/0ec8f1e0e65610dbfae382edc6d321220cd106b8
Merge branch 'master' of github.com:openshift/origin-server

* 'master' of github.com:openshift/origin-server:
  Bug 912601

Comment 3 Wei Sun 2013-02-20 01:49:26 UTC
Verified on devenv_2835
client is rhc 1.5.2

Step:
1.create an application
2.add db cartridge to the app
3.show db cartridge's status

Result:

[sunwei@dhcp-8-229 ~]$ rhc cartridge status mysql-5.1 -a phpt -p x
RESULT:
MySQL is running
[sunwei@dhcp-8-229 ~]$ rhc cartridge status mongodb-2.2 -a phpt -p x
RESULT:
MongoDB is running
[sunwei@dhcp-8-229 ~]$ rhc cartridge status postgresql-8.4 -a phpt -p x
RESULT:
PostgreSQL server instance is running


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