Bug 912601

Summary: Can't show db cartridge's status
Product: OKD Reporter: Wei Sun <wsun>
Component: PodAssignee: Dan McPherson <dmcphers>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.x   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devenv_2833 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-15 14:13:17 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:
Attachments:
Description Flags
broker log none

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