Bug 1139671
Summary: | When AuthN extension doesn't have link to authZ plugin, internal provider crash | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Ondra Machacek <omachace> | ||||
Component: | ovirt-engine-core | Assignee: | Alon Bar-Lev <alonbl> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ondra Machacek <omachace> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.5 | CC: | alonbl, ecohen, gklein, iheim, lpeer, rbalakri, Rhev-m-bugs, yeylon | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.5.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | infra | ||||||
Fixed In Version: | ovirt-3.5.0_rc2 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-10-17 12:35:57 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1076964 | ||||||
Attachments: |
|
Why downstream? it is not downstream specific issue. We should open bugs on downstream now. (In reply to Ondra Machacek from comment #2) > We should open bugs on downstream now. why? We work with downstream now, so we open bugs on downstream. I am not aware of more details. 2014-09-11 07:20:15,699 ERROR [org.ovirt.engineextensions.aaa.ldap.AuthnExtension] (ServerService Thread Pool -- 53) Cannot initialize LDAP framework, deferring initialization. Error: A null object was provided where a non-null object is required (non-null index 0). Thread stack trace: getStackTrace(Thread.java:1589) / ensureNotNull(Validator.java:60) / <init>(SingleServerSet.java:140) / createConnectionPool(Framework.java:515) / createPool(Framework.java:631) / runSequence(Framework.java:1272) / open(Framework.java:665) / ensureFramework(AuthnExtension.java:47) / doInit(AuthnExtension.java:122) / invoke(AuthnExtension.java:60) / invoke(ExtensionProxy.java:49) / invoke(ExtensionProxy.java:73) / invoke(ExtensionProxy.java:109) / initialize(ExtensionsManager.java:308) / engineInitialize(EngineExtensionsManager.java:110) / initialize(Backend.java:266) / create(Backend.java:138) / invoke0(NativeMethodAccessorImpl.java) / invoke(NativeMethodAccessorImpl.java:57) / invoke(DelegatingMethodAccessorImpl.java:43) / invoke(Method.java:606) / processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:130) / proceed(InterceptorContext.java:288) / processInvocation(WeavedInterceptor.java:53) / proceed(InterceptorContext.java:288) / processInvocation(WeldInjectionInterceptor.java:73) / proceed(InterceptorContext.java:288) / processInvocation(ManagedReferenceInterceptorFactory.java:95) / proceed(InterceptorContext.java:288) / processInvocation(ManagedReferenceInterceptorFactory.java:95) / proceed(InterceptorContext.java:288) / processInvocation(WeavedInterceptor.java:53) / proceed(InterceptorContext.java:288) / processInvocation(NamespaceContextInterceptor.java:50) / proceed(InterceptorContext.java:288) / invokeInNoTx(CMTTxInterceptor.java:259) / supports(CMTTxInterceptor.java:398) / processInvocation(LifecycleCMTTxInterceptor.java:68) / proceed(InterceptorContext.java:288) / processInvocation(CurrentInvocationContextInterceptor.java:41) / proceed(InterceptorContext.java:288) / processInvocation(TCCLInterceptor.java:45) / proceed(InterceptorContext.java:288) / processInvocation(ChainedInterceptor.java:61) / constructComponentInstance(BasicComponent.java:161) / createInstance(BasicComponent.java:85) / getComponentInstance(SingletonComponent.java:126) / start(SingletonComponent.java:141) / run(ComponentStartService.java:54) / call(Executors.java:471) / run(FutureTask.java:262) / runWorker(ThreadPoolExecutor.java:1145) / run(ThreadPoolExecutor.java:615) / run(Thread.java:745) / run(JBossThread.java:122) ok rhevm-3.5.0-0.11.beta.el6ev.noarch oVirt 3.5 has been released and should include the fix for this issue. |
Created attachment 935652 [details] server.log Description of problem: Version-Release number of selected component (if applicable): rhevm-3.5.0-0.10.master.el6ev.noarch How reproducible: always Steps to Reproduce: 1. install rhevm-extensions-api-impl-3.5.0-0.10.master.el6ev.noarch 2. cat >> /etc/ovirt-engine/extensions.d/ldap-authn-ad_ad-w2k12r2.properties << EOF ovirt.engine.extension.enabled = true ovirt.engine.extension.name = ldap-authn-ad_ad-w2k12r2 ovirt.engine.extension.bindings.method = jbossmodule ovirt.engine.extension.binding.jbossmodule.module = org.ovirt.engine-extensions.aaa.ldap ovirt.engine.extension.binding.jbossmodule.class = org.ovirt.engineextensions.aaa.ldap.AuthnExtension ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authn config.profile.file.1 = /tmp/ad-w2k12r2.rhev.lab.eng.brq.redhat.com.properties ovirt.engine.aaa.authn.profile.name = ldap-ad_ad-w2k12r2 #ovirt.engine.aaa.authn.authz.plugin = ldap-authz-ad_ad-w2k12r2 EOF 3. service ovirt-engine restart Actual results: engine don't start Expected results: engine start Additional info: