Bug 692161
Summary: | /etc/init.d/solr status returns rake info.. should return status | ||
---|---|---|---|
Product: | [Retired] CloudForms Cloud Engine | Reporter: | wes hayutin <whayutin> |
Component: | aeolus-conductor | Assignee: | Richard Su <rwsu> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 0.3.1 | CC: | akarol, deltacloud-maint, morazi, rwsu |
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-12-08 13:47:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 684278 |
Description
wes hayutin
2011-03-30 15:24:35 UTC
The init script in puppet checks status on the wrong thing. The script will require a bigger change because it is possible to have multiple instances of solr running, so we need to distinguish between them. fixed on commit 031813d68451a64e9f173d8cf08ed68cba8b714d /etc/init.d/solr status still returns rake info. It should return solr status. verification details: [root@nec-em19 ~]# /etc/init.d/solr status rake (pid 6925) is running... verified on: [root@nec-em19 ~]# rpm -qa | grep aeolus rubygem-aeolus-cli-0.0.1-1.fc14.20110620142346git1c969a7.noarch aeolus-conductor-doc-0.3.0-0.fc14.20110620142346git1c969a7.noarch aeolus-conductor-daemons-0.3.0-0.fc14.20110620142346git1c969a7.noarch aeolus-conductor-0.3.0-0.fc14.20110620142346git1c969a7.noarch aeolus-all-0.3.0-0.fc14.20110620142346git1c969a7.noarch aeolus-configure-2.0.1-0.fc14.20110602110128git5cb9257.noarch I think this is just a misunderstanding. If you look at /etc/init.d/solr, you'll see that solr is actually a rake process. The PROG is /usr/bin/rake. rake is used to start, stop, and check status of solr. If you do a ps -ef | grep solr, you'll see that the process id matches the id displayed by "service solr status". <weshay> rwsu, morazi there is a diff between doing the right thing / wrong thing and whats obvious to a new user.. agreed its doing the right thing, but its not obvious <weshay> honestly I would just remove "rake" from that line Status should now be reported as "solr" instead of "rake". aeolus-configure-2.0.1-0.fc14.20110622123902gitdf4ae05.noarch.rpm [root@ibm-x3950m2-01 noarch]# /etc/init.d/solr status solr (pid 22403) is running... [root@ibm-x3950m2-01 noarch]# [root@ibm-x3950m2-01 noarch]# rpm -qa | grep aeolus aeolus-conductor-0.3.0-0.el6.20110623205403git551632a.noarch aeolus-configure-2.0.1-0.el6.20110622123902gitdf4ae05.noarch aeolus-conductor-doc-0.3.0-0.el6.20110623205403git551632a.noarch aeolus-all-0.3.0-0.el6.20110623205403git551632a.noarch rubygem-aeolus-cli-0.0.1-1.el6.20110623205403git551632a.noarch aeolus-conductor-daemons-0.3.0-0.el6.20110623205403git551632a.noarch aeolus-conductor-devel-0.3.0-0.el6.20110623205403git551632a.noarch release pending... release pending... perm close |