Bug 1117397 - When invalid config exists in /etc/ovirt-engine/extensions.d, engine don't start
Summary: When invalid config exists in /etc/ovirt-engine/extensions.d, engine don't start
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.5.0
Assignee: Yair Zaslavsky
QA Contact: Ondra Machacek
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-08 15:08 UTC by Ondra Machacek
Modified: 2016-02-10 19:30 UTC (History)
9 users (show)

Fixed In Version: ovirt-3.5.0-beta1.1
Clone Of:
Environment:
Last Closed: 2014-10-17 12:24:08 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)
server.log (9.90 KB, text/x-log)
2014-07-08 15:08 UTC, Ondra Machacek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 29728 0 master MERGED extmgr: Engine should start even if there is a wrong configuration of extension Never
oVirt gerrit 29828 0 ovirt-engine-3.5 MERGED extmgr: Engine should start even if there is a wrong configuration of extension Never

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.


Note You need to log in before you can comment on or make changes to this bug.