Bug 1273789 - Do not initialize disabled extensions
Summary: Do not initialize disabled extensions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Tools.Extensions
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-3.6.1
: 3.6.1
Assignee: Alon Bar-Lev
QA Contact: Ondra Machacek
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-21 08:52 UTC by Alon Bar-Lev
Modified: 2016-02-10 19:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-16 12:17:37 UTC
oVirt Team: Infra
Embargoed:
alonbl: ovirt-3.6.z?
alonbl: planning_ack?
alonbl: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 47564 0 master MERGED exttool: do not initialize disabled extensions Never
oVirt gerrit 47597 0 ovirt-engine-3.6 MERGED exttool: do not initialize disabled extensions Never

Description Alon Bar-Lev 2015-10-21 08:52:44 UTC
2015-10-21 10:36:22 SEVERE  Extension 'null' initialization failed (ignored): null
2015-10-21 10:36:22 FINE    Exception:
java.lang.NullPointerException
        at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
        at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988)
        at org.ovirt.engine.core.extensions.mgr.ExtensionsManager.initialize(ExtensionsManager.java:309)
        at org.ovirt.engine.exttool.core.ExtensionsToolExecutor.loadExtensions(ExtensionsToolExecutor.java:144)
        at org.ovirt.engine.exttool.core.ExtensionsToolExecutor.main(ExtensionsToolExecutor.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.jboss.modules.Module.run(Module.java:312)
        at org.jboss.modules.Main.main(Main.java:473)

Comment 1 Red Hat Bugzilla Rules Engine 2015-10-21 08:52:50 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Ondra Machacek 2015-11-26 10:23:54 UTC
[root@om-ovirt36 ~]# rpm -q rhevm-backend
rhevm-backend-3.6.1-0.2.el6.noarch

[root@om-ovirt36 ~]# ovirt-engine-extensions-tool aaa search --extension-name=ad2008-authz --entity-name=user*
...
2015-11-26 11:18:15 FINE    Loading extension file 'ad2008-authz.properties'
2015-11-26 11:18:15 FINE    Extension file 'ad2008-authz.properties' disabled
2015-11-26 11:18:15 FINE    Loading extension file 'ad2008-authn.properties'
2015-11-26 11:18:15 FINE    Extension file 'ad2008-authn.properties' disabled
...

[root@om-ovirt36 ~]# echo $?
1

Comment 3 Sandro Bonazzola 2015-12-16 12:17:37 UTC
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.


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