Created attachment 622952 [details] log Description of problem: we cannot run a stateless vm. when running the vm we are getting java.lang.RuntimeException on RunVmCommand and the stateless snapshot is stuck in image locked Version-Release number of selected component (if applicable): si20 How reproducible: 100% Steps to Reproduce: 1. create a vm with disk 2. edit vm -> check the stateless checkbox 3. run the vm Actual results: we fail to run the vm with java.lang.RuntimeException and the snapshot is stuck in image locked Expected results: we should be able to run the vm and if for any reason operation fails we should release lock on snapshot and roll back. Additional info:log 2012-10-07 11:15:56,833 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-4-thread-50) CommandsFactory [parameter: VdcActionParametersBase]: Failed to get type information using reflection for Action: RunVm: java.lang.RuntimeException: could not find matching constructor for Command class class org.ovirt.engine.core.bll.RunVmCommand at org.ovirt.engine.core.bll.CommandsFactory.findCommandConstructor(CommandsFactory.java:146) [engine-bll.jar:] at org.ovirt.engine.core.bll.CommandsFactory.CreateCommand(CommandsFactory.java:36) [engine-bll.jar:] at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:354) [engine-bll.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_05-icedtea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_05-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_05-icedtea] at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_05-icedtea] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee.jar:7.1.2.Final-redhat-1] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation.jar:1.1.1.Final-redhat-1] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation.jar:1.1.1.Final-redhat-1] at org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11) [engine-utils.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.7.0_05-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_05-icedtea] at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_05-icedtea] at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee.jar:7.1.2.Final-redhat-1] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation.jar:1.1.1.Final-redhat-1] :
In gerrit: http://gerrit.ovirt.org/#/c/8461/
*** Bug 864918 has been marked as a duplicate of this bug. ***
stateless VM can be run in si22 with no issue
Created attachment 637017 [details] log_collector
it seems that in si23 this issues is back, VM cannot be stated stateless, snapshot is locked forever log collector is attcahed 2012-11-02 10:37:44,963 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-4-thread-47) [2b7fd09e] CommandsFactory [parameter: VdcActionParametersBase]: Failed to get type information using reflection for Action: CreateAllSnapshotsFromVm: java.lang.RuntimeException: could not find matching constructor for Command class class org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand at org.ovirt.engine.core.bll.CommandsFactory.findCommandConstructor(CommandsFactory.java:154) [engine-bll.jar:] at org.ovirt.engine.core.bll.CommandsFactory.CreateCommand(CommandsFactory.java:36) [engine-bll.jar:] at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:366) [engine-bll.jar:] at org.ovirt.engine.core.bll.Backend.EndAction(Backend.java:359) [engine-bll.jar:] at sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source) [:1.7.0_09-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09-icedtea] at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09-icedtea]
This is a different issue - please see 872201
verified on si24, VM can be started stateless