Re: [Users] Engine constantly trying to remove disks that aren´t there

2012-10-27 Thread Maor Lipchuk
On 10/26/2012 04:20 PM, Greg Padgett wrote:
 On 10/26/2012 08:21 AM, Karli Sjöberg wrote:
 Hi,

 today I had a VM that had a couple of hard drives created, that I wanted
 destroyed, so I shift-clicked to mark all of them:


 This screen showed up:


 I clicked OK, the disks were deleted, but ever since then, these
 messages keep appearing in the event log:


 engine.log keeps printing this:
 2012-10-26 14:14:50,285 INFO 
 [org.ovirt.engine.core.bll.AsyncTaskManager]
 (QuartzScheduler_Worker-63) AsyncTaskManager::PollAndUpdateAsyncTasks: 1
 tasks, 1 tasks to poll now
 2012-10-26 14:14:50,441 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask]
 (QuartzScheduler_Worker-63) BaseAsyncTask::OnTaskEndSuccess: Task
 a50a874d-5a81-4268-a085-2602df29def1 (Parent Command RemoveDisk,
 Parameters Type
 org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended
 successfully.
 2012-10-26 14:14:50,442 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask]
 (QuartzScheduler_Worker-63) EntityAsyncTask::EndActionIfNecessary: All
 tasks of entity d9d60b31-c8e4-4d24-8b2e-29b654789057 has ended -
 executing EndAction
 2012-10-26 14:14:50,443 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask]
 (QuartzScheduler_Worker-63) EntityAsyncTask::EndAction: Ending action for
 1 tasks (entity ID: d9d60b31-c8e4-4d24-8b2e-29b654789057): calling
 EndAction for action type RemoveDisk.
 2012-10-26 14:14:50,445 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask]
 (pool-3-thread-47) EntityAsyncTask::EndCommandAction [within
 thread]context: Attempting to EndAction RemoveDisk
 2012-10-26 14:14:50,471 INFO
   [org.ovirt.engine.core.bll.RemoveDiskCommand] (pool-3-thread-47) Ending
 command successfully: org.ovirt.engine.core.bll.RemoveDiskCommand
 2012-10-26 14:14:50,484 WARN
   [org.ovirt.engine.core.compat.backendcompat.TypeCompat]
 (pool-3-thread-47) Unable to get value of property: diskAlias for class
 org.ovirt.engine.core.bll.RemoveDiskCommand
 2012-10-26 14:14:50,510 ERROR [org.ovirt.engine.core.bll.EntityAsyncTask]
 (pool-3-thread-47) EntityAsyncTask::EndCommandAction [within thread]:
 EndAction for action type RemoveDisk threw an exception:
 java.lang.NullPointerException
 at
 org.ovirt.engine.core.bll.RemoveDiskCommand.getVmsForDiskId(RemoveDiskCommand.java:146)

 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.RemoveDiskCommand.endCommand(RemoveDiskCommand.java:281)

 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.RemoveDiskCommand.EndSuccessfully(RemoveDiskCommand.java:272)

 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.InternalEndSuccessfully(CommandBase.java:465)

 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBase.java:420)

 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1205)

 [engine-bll.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168)

 [engine-utils.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:107)

 [engine-utils.jar:]
 at org.ovirt.engine.core.bll.CommandBase.EndAction(CommandBase.java:366)
 [engine-bll.jar:]
 at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:356)
 [engine-bll.jar:]
 at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
 [:1.7.0_06-icedtea]
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 [rt.jar:1.7.0_06-icedtea]
 at java.lang.reflect.Method.invoke(Method.java:601)
 [rt.jar:1.7.0_06-icedtea]
 at
 org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)

 [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
 at
 org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

 [jboss-invocation.jar:1.1.1.Final]
 at
 org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)

 [jboss-invocation.jar:1.1.1.Final]
 at
 org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11)

 [engine-utils.jar:]
 at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
 [:1.7.0_06-icedtea]
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 [rt.jar:1.7.0_06-icedtea]
 at java.lang.reflect.Method.invoke(Method.java:601)
 [rt.jar:1.7.0_06-icedtea]
 at
 org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)

 [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
 at
 org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

 [jboss-invocation.jar:1.1.1.Final]
 at
 org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

 [jboss-invocation.jar:1.1.1.Final]
 at
 

Re: [Users] Engine constantly trying to remove disks that aren´t there

2012-10-26 Thread Greg Padgett

On 10/26/2012 08:21 AM, Karli Sjöberg wrote:

Hi,

today I had a VM that had a couple of hard drives created, that I wanted
destroyed, so I shift-clicked to mark all of them:


This screen showed up:


I clicked OK, the disks were deleted, but ever since then, these
messages keep appearing in the event log:


engine.log keeps printing this:
2012-10-26 14:14:50,285 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager]
(QuartzScheduler_Worker-63) AsyncTaskManager::PollAndUpdateAsyncTasks: 1
tasks, 1 tasks to poll now
2012-10-26 14:14:50,441 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask]
(QuartzScheduler_Worker-63) BaseAsyncTask::OnTaskEndSuccess: Task
a50a874d-5a81-4268-a085-2602df29def1 (Parent Command RemoveDisk,
Parameters Type
org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended
successfully.
2012-10-26 14:14:50,442 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask]
(QuartzScheduler_Worker-63) EntityAsyncTask::EndActionIfNecessary: All
tasks of entity d9d60b31-c8e4-4d24-8b2e-29b654789057 has ended -
executing EndAction
2012-10-26 14:14:50,443 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask]
(QuartzScheduler_Worker-63) EntityAsyncTask::EndAction: Ending action for
1 tasks (entity ID: d9d60b31-c8e4-4d24-8b2e-29b654789057): calling
EndAction for action type RemoveDisk.
2012-10-26 14:14:50,445 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask]
(pool-3-thread-47) EntityAsyncTask::EndCommandAction [within
thread]context: Attempting to EndAction RemoveDisk
2012-10-26 14:14:50,471 INFO
  [org.ovirt.engine.core.bll.RemoveDiskCommand] (pool-3-thread-47) Ending
command successfully: org.ovirt.engine.core.bll.RemoveDiskCommand
2012-10-26 14:14:50,484 WARN
  [org.ovirt.engine.core.compat.backendcompat.TypeCompat]
(pool-3-thread-47) Unable to get value of property: diskAlias for class
org.ovirt.engine.core.bll.RemoveDiskCommand
2012-10-26 14:14:50,510 ERROR [org.ovirt.engine.core.bll.EntityAsyncTask]
(pool-3-thread-47) EntityAsyncTask::EndCommandAction [within thread]:
EndAction for action type RemoveDisk threw an exception:
java.lang.NullPointerException
at
org.ovirt.engine.core.bll.RemoveDiskCommand.getVmsForDiskId(RemoveDiskCommand.java:146)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.RemoveDiskCommand.endCommand(RemoveDiskCommand.java:281)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.RemoveDiskCommand.EndSuccessfully(RemoveDiskCommand.java:272)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.InternalEndSuccessfully(CommandBase.java:465)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBase.java:420)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1205)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168)
[engine-utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:107)
[engine-utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.EndAction(CommandBase.java:366)
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:356)
[engine-bll.jar:]
at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
[:1.7.0_06-icedtea]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_06-icedtea]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_06-icedtea]
at
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation.jar:1.1.1.Final]
at
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
[jboss-invocation.jar:1.1.1.Final]
at
org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11)
[engine-utils.jar:]
at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
[:1.7.0_06-icedtea]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_06-icedtea]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_06-icedtea]
at
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation.jar:1.1.1.Final]
at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation.jar:1.1.1.Final]
at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)
[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at