Bug 758058

Summary: [ovirt] [engine] VdsUp event doesn't work in case jboss is not restarted after running deployment
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, hateya, iheim, jboggs, mburns, mgoldboi, ovirt-bugs, ovirt-maint, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-13 08:13:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine log none

Description Haim 2011-11-29 10:03:43 UTC
Description of problem:

this following issue is nice to have and not sure if have any production implications; but maybe solved with correct jboss configuration, flow and impact are pretty obvious: 

- jboss running engine is running 
- refresh git repo 
- run mvn with deploy param 
- do not stop jboss 
- re-login to webadmin; everything looks usual and working
- activate host

host is stuck on unassigned state while engine log producing the following exception:

2011-11-29 03:44:03,974 ERROR [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (QuartzScheduler_Worker-95) ResourceManager::refreshVdsRunTimeInfo: Error: IllegalArgumentException: Wrong target. class org.ovirt.engine.core.bll.VdsEventListener for public void org.ovirt.engine.core.bll.VdsEventListener.VdsUpEvent(org.ovirt.engine.core.compat.Guid), vds = 332260d4-1690-11e1-93b6-e35331c42a11 : 10.16.144.100
2011-11-29 03:44:03,975 ERROR [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (QuartzScheduler_Worker-95) IllegalArgumentException: Wrong target. class org.ovirt.engine.core.bll.VdsEventListener for public void org.ovirt.engine.core.bll.VdsEventListener.VdsUpEvent(org.ovirt.engine.core.compat.Guid)
java.lang.IllegalArgumentException: Wrong target. class org.ovirt.engine.core.bll.VdsEventListener for public void org.ovirt.engine.core.bll.VdsEventListener.VdsUpEvent(org.ovirt.engine.core.compat.Guid)
        at org.jboss.aop.joinpoint.MethodInvocation.handleErrors(MethodInvocation.java:151)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:126)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
        at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
        at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
        at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
        at sun.reflect.GeneratedMethodAccessor762.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
        at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_696668635.invoke(InvocationContextInterceptor_z_fillMethod_696668635.java)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
        at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_696668635.invoke(InvocationContextInterceptor_z_setup_696668635.java)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)


git log: fd1a33ea47423cb7ee28cc243826b0a46200c5aa

Comment 1 Haim 2011-11-29 10:13:02 UTC
Created attachment 537871 [details]
engine log

Comment 2 Itamar Heim 2012-12-13 08:13:00 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.