Bug 1117397

Summary: When invalid config exists in /etc/ovirt-engine/extensions.d, engine don't start
Product: [Retired] oVirt Reporter: Ondra Machacek <omachace>
Component: ovirt-engine-coreAssignee: Yair Zaslavsky <yzaslavs>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: alonbl, bazulay, bugs, gklein, iheim, oourfali, rbalakri, yeylon, yzaslavs
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-3.5.0-beta1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:24:08 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:
Attachments:
Description Flags
server.log none

Description Ondra Machacek 2014-07-08 15:08:35 UTC
Created attachment 916446 [details]
server.log

Description of problem:


Version-Release number of selected component (if applicable):
ovirt-engine-extension-aaa-ldap-0.0.0-0.0.master.el6_5.noarch
ovirt-engine-extensions-api-impl-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch
unboundid-ldapsdk-2.3.7-0.0.snap.r530.el6_5.noarch

How reproducible:
always

Steps to Reproduce:
1. touch /etc/ovirt-engine/extensions.d/something.properties
2. service ovirt-engine restart

Actual results:
engine don't start

Expected results:
engine start, and ignore my_ldap.conf

Additional info:

Comment 1 Oved Ourfali 2014-07-10 05:19:23 UTC
Moving to POST until merged on ovirt-engine-3.5 branch

Comment 2 Ondra Machacek 2014-07-29 09:16:45 UTC
Verified in ovirt-engine-3.5.0-0.0.master.20140722232058.git8e1babc.el6.noarch.

properties file is ignored and engine start.

2014-07-29 11:14:33,684 ERROR [org.ovirt.engine.core.utils.extensionsmgr.EngineExtensionsManager] (MSC service thread 1-4) Could not load extension based on configuration file '/etc/ovirt-engine/extensions.d/something.properties'. Please check the configuration file is valid. Exception message is: Error loading extension __unamed_020__

Comment 3 Sandro Bonazzola 2014-10-17 12:24:08 UTC
oVirt 3.5 has been released and should include the fix for this issue.