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

Bug 1060410

Summary: engine.log - Failed to invoke scheduled method refreshAllUsers (every 1hr or reboot)
Product: [Retired] oVirt Reporter: Pavel Stehlik <pstehlik>
Component: ovirt-engine-coreAssignee: Martin Perina <mperina>
Status: CLOSED DUPLICATE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4CC: acathrow, bazulay, gklein, iheim, sbonazzo, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-11 12:44:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine-refreshAllUsers.tgz none

Description Pavel Stehlik 2014-02-01 10:35:35 UTC
Created attachment 858070 [details]
engine-refreshAllUsers.tgz

Description of problem:
 Although searching for users works (& login via only added domain as well), there is still periodical message in engine.log. Every hour or after restart service. Debug log attached. Att also contains manage-domain.log

...
2014-02-01 11:03:38,191 ERROR [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] (DefaultQuartzScheduler_Worker-1) Failed to invoke scheduled method refreshAllUsers: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_51]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_51]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
        at org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) [scheduler.jar:]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz.jar:]
Caused by: java.lang.NullPointerException
        at org.ovirt.engine.core.bll.DbUserCacheManager.refreshUser(DbUserCacheManager.java:220) [bll.jar:]
        at org.ovirt.engine.core.bll.DbUserCacheManager.refreshUsers(DbUserCacheManager.java:137) [bll.jar:]
        at org.ovirt.engine.core.bll.DbUserCacheManager.refreshAllUsers(DbUserCacheManager.java:92) [bll.jar:]
        ... 7 more


Version-Release number of selected component (if applicable):
ovirt-engine-3.4.0-0.5.beta1.el6.noarch

How reproducible:


Steps to Reproduce:
1. use engine-manage-domains and add AD domain
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Martin Perina 2014-02-11 12:44:35 UTC

*** This bug has been marked as a duplicate of bug 1063276 ***