Bug 928861
Summary: | VDSM will fail to start if rsyslogd's configuration is invalid. | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Gordon Watson <gwatson> |
Component: | vdsm | Assignee: | Yaniv Bronhaim <ybronhei> |
Status: | CLOSED ERRATA | QA Contact: | Tareq Alayan <talayan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.1.2 | CC: | abaron, bazulay, dyasny, hateya, iheim, lpeer, sgrinber, ybronhei, ykaul, zdover |
Target Milestone: | --- | ||
Target Release: | 3.2.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | infra | ||
Fixed In Version: | vdsm-4.10.2-16.0.el6ev | Doc Type: | Bug Fix |
Doc Text: |
Previously, VDSM did not start properly due to an exception when trying to set logger syslog configuration. Part of the setting was connecting to /dev/log, but that didn't exist when a corruption existed in the syslog.conf file.
Now, during startup of the rsyslogd service, rsyslogd verifies that the /dev/log socket exists and is accessible. If the /dev/log socket does not exist, "vdsmd service start" fails.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-10 20:47:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gordon Watson
2013-03-28 15:31:23 UTC
1) can you please attach SOS report? 2) what is the status of rsyslogd, is it running? I suspect rsyslogd is not running at all, in that case, vdsm should alert that one of the dependent services is down, and might give a hint to the user. First I submitted a patch that adds rsyslog service to vdsm dependencies, Second, when loading logger.conf file, logger module tries to open a socket to rsyslog service (that runs even if its configuration is corrupted), due to the configuration failure exception is raised and not handled in vdsm. We can't print this error to vdsm.log or syslog with the current logger configuration. This happens over and over and can't be fixed until rsyslog.conf will be fixed. We can split the logger.conf, and if this exception is raised, we can try load the conf without the use of syslog and print the error to vdsm.log. But IMO it's too messy and unclear for this specific case and require the service is enough. syslog listens on /dev/log socket and logger tries to open it, if syslog runs with corrupted configuration this socket won't be created. I propose a patch that check this file before starting vdsm process. Both patches together ensure that rsyslog deamon is installed and operates as needed. verified. vdsm fail to start but it throws a message Cannot communicate with syslog deamon for reports. Check r[FAILED]onf vdsm: one of the dependent services did not start, error co[FAILED] 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/RHSA-2013-0886.html |