Bug 740688
Summary: | iwhd daemon no longer checks for mongodb | ||
---|---|---|---|
Product: | [Retired] CloudForms Cloud Engine | Reporter: | wes hayutin <whayutin> |
Component: | iwhd | Assignee: | Jim Meyering <meyering> |
Status: | CLOSED ERRATA | QA Contact: | wes hayutin <whayutin> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.0.0 | CC: | akarol, clalance, dajohnso, deltacloud-maint, 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: | 2012-05-15 19:55:10 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: |
Description
wes hayutin
2011-09-22 23:18:02 UTC
version tested... commit af161e18fbf58669ba1d6dca6de20fd211bd4b76 Author: Pete Zaitcev <zaitcev> Date: Wed Sep 14 16:22:47 2011 +0200 So actually the thing is that iwhd still does this check. However, it is now hidden behind systemd. The quick summary is that "service foo start" puts a message on dbus, then systemd (init) picks up the message off of dbus, finds /etc/init.d/iwhd, and then execs it. The problem is most likely that it is checking for mongod, but not properly returning a non-zero error code when it doesn't find it. There is a further problem in that it also doesn't report an error message anywhere. Both of these probably need to be fixed in the iwhd initscript. AFAICS, this was fixed by the commit mentioned in comment #1, so this is no longer a problem with iwhd. iwhd daemon checks for mongodb. [root@dell-pe1950-02 templates]# service mongod stop Stopping mongod: [ OK ] [root@dell-pe1950-02 templates]# service iwhd stop [ OK ] iwhd daemon: [ OK ] [root@dell-pe1950-02 templates]# service iwhd start waiting for mongod to listen on localhost:27017[FAILED] I see that that the iwhd checks for mongod, but nothing is logged in iwhd.log [root@dell-pe1950-02 ~]# tail -f /var/log/iwhd.log An error message/condition should be reported in iwhd.log. [root@dell-pe1950-02 templates]# rpm -qa | egrep 'conductor|iwhd' aeolus-conductor-0.5.0-0.20111007200330gite77b251.el6.noarch aeolus-conductor-doc-0.5.0-0.20111007200330gite77b251.el6.noarch iwhd-0.98.15.z3-2.el6.x86_64 aeolus-conductor-daemons-0.5.0-0.20111007200330gite77b251.el6.noarch Thanks for the report, but you have misinterpreted the silence. It is not an error for mongodb to become unavailable, now. iwhd will reconnect when it returns, and there is no timeout. From the NEWS: * Noteworthy changes in release 0.99 (2011-10-10) [stable] ** Bug fixes iwhd now continues to work properly when mongo dies and is restarted. Before, it would dump core due to an unhandled SocketException. If the lack of a log message is causing trouble, please give details, but preferably in a new BZ. closing this one out, created a new bug 747984 to get better iwhd logging Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-0589.html |