Bug 744235

Summary: /etc/init.d/deltacloud-core on RHEL 6.1 not reporting status accurately
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: deltacloud-coreAssignee: Michal Fojtik <mfojtik>
Status: CLOSED DUPLICATE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, dajohnso, deltacloud-maint, dgao, rananda, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-04 14:27:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description wes hayutin 2011-10-07 14:56:24 UTC
Description of problem:
[root@hp-bl280cg6-01 ~]# ps -ef | grep deltacloud
nobody   12209     1  0 10:46 ?        00:00:01 /usr/bin/ruby /usr/bin/deltacloudd -i mock -e production --port 3002 -r localhost
root     13505 10556  0 10:49 pts/0    00:00:00 grep deltacloud
[root@hp-bl280cg6-01 ~]# /etc/init.d/deltacloud-core stop
[  OK  ] down deltacloud-core: [  OK  ]
[root@hp-bl280cg6-01 ~]# /etc/init.d/deltacloud-core start
[  OK  ] deltacloud-core: [  OK  ]
[root@hp-bl280cg6-01 ~]# ps -ef | grep deltacloud
nobody   13523     1 19 10:49 ?        00:00:00 /usr/bin/ruby /usr/bin/deltacloudd -i mock -e production --port 3002 -r localhost
root     13526 10556  0 10:49 pts/0    00:00:00 grep deltacloud
[root@hp-bl280cg6-01 ~]# aeolus-check-services 

Checking mongod ...
 Success: mongod (pid 13284) is running...

Checking iwhd ...
 Success: iwhd (pid  13321) is running...

Checking postgresql ...
 Success: postmaster (pid  12128) is running...

Checking httpd ...
 Success: httpd (pid  13020) is running...

Checking qpidd ...
 Success: qpidd (pid  13049) is running...

Checking deltacloud-core ...
 FAILURE: is stopped

Checking libvirtd ...
 Success: libvirtd (pid  12219) is running...

Checking aeolus-conductor ...
 Success: (pid  13236) is running...

Checking conductor-dbomatic ...
 Success: dbomatic (pid  13457) is running...

Checking imagefactory ...
 Success: imagefactory (pid  13164) is running...

Checking ntpd ...
 Success: ntpd (pid  12350) is running...
[root@hp-bl280cg6-01 ~]# vi /usr/bin/aeolus-check-services 
[root@hp-bl280cg6-01 ~]# /etc/init.d/deltacloud-core stop
[  OK  ] down deltacloud-core: [  OK  ]
[root@hp-bl280cg6-01 ~]# echo $?
0
[root@hp-bl280cg6-01 ~]# /etc/init.d/deltacloud-core start
[  OK  ] deltacloud-core: [  OK  ]
[root@hp-bl280cg6-01 ~]# echo $?
0
[root@hp-bl280cg6-01 ~]# /etc/init.d/deltacloud-core status
 is stopped


[root@hp-bl280cg6-01 ~]# rpm -qa | egrep 'aeolus|deltacloud'
aeolus-configure-2.0.2-4.20111005095819gitaf7e59a.el6.noarch
aeolus-conductor-doc-0.4.0-0.20111005200518gitf9deb7f.el6.noarch
rubygem-activerecord-3.0.9-1.aeolus.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
rubygem-deltacloud-client-0.4.0-3.el6.noarch
deltacloud-core-rhevm-0.5.0-0.2.1317167702git.el6.noarch
rubygem-actionpack-3.0.9-1.aeolus.el6.noarch
rubygem-aeolus-image-0.1.0-3.20111003170706git8f23238.el6.noarch
aeolus-conductor-daemons-0.4.0-0.20111005200518gitf9deb7f.el6.noarch
deltacloud-core-0.5.0-0.2.1317167702git.el6.noarch
rubygem-rack-mount-0.7.1-3.aeolus.el6.noarch
aeolus-conductor-0.4.0-0.20111005200518gitf9deb7f.el6.noarch
rubygem-actionmailer-3.0.9-1.aeolus.el6.noarch
rubygem-aeolus-cli-0.1.0-3.20111003133323git9451323.el6.noarch
aeolus-all-0.4.0-0.20111005200518gitf9deb7f.el6.noarch
rubygem-activesupport-3.0.9-1.aeolus.el6.noarch
rubygem-arel-2.0.10-0.aeolus.el6.noarch
deltacloud-core-vsphere-0.5.0-0.2.1317167702git.el6.noarch
deltacloud-core-ec2-0.5.0-0.2.1317167702git.el6.noarch

Comment 2 Michal Fojtik 2011-11-04 14:27:26 UTC

*** This bug has been marked as a duplicate of bug 747958 ***