Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1502206

Summary: Vdsm fails to start when logger conf file is invalid
Product: [oVirt] vdsm Reporter: Yaniv Bronhaim <ybronhei>
Component: CoreAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.20.4CC: bugs, lsvaty, mperina
Target Milestone: ovirt-4.1.7Flags: rule-engine: ovirt-4.1+
Target Release: 4.19.35   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-13 12:26:10 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 Yaniv Bronhaim 2017-10-15 08:12:32 UTC
The Exception level that we catch doesn't catch format errors in conf file.
This fix changes the RuntimeError to general Exception when treating logger conf.


Version-Release number of selected component (if applicable):
4.20.4

How reproducible:
100%

Steps to Reproduce:
1. invalid syntax in /etc/vdsm/logger.conf file
2. run vdsmd service
3.

Actual results:
starts normally but fails during run

Expected results:
fails to start with syslog notification


Additional info:

Comment 1 Petr Matyáš 2017-10-25 10:29:43 UTC
Verified on vdsm-4.19.35-1.el7ev.x86_64