RHEV3.1Beta : RHEV-M in a spin when removing a disk from a VM.

Latest response

Hi

 

I've created a VM in 3.1beta, added a couple of disks from a single storage domain and then attempted to remove one of the disks.

This appears to have sent RHEVM into a spin.

 

I'm seeing a looping java exception in the engine log which states :-

 

2012-08-22 11:57:50,210 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-45) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveDisk completed, handling the result.
2012-08-22 11:57:50,210 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-45) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveDisk hasnt succeeded, not clearing tasks, will attempt again next polling.
 

I can confirm that the underlining logical volume no longer exists at the hypervisor(s) level but this doesn't seem to have been acknowledged by the Manager.  A reboot of the hypervisors and manager has had no effect. 

Responses

Hi Richard,

I've tried to look for a matching description in existing bug reports and could not find any, nor could I reproduce.  Could you please provide more information?

Like,

Storage type

Disk sizes

Exact scenario that lead to this

Does it happen every time you do the same?

Alternatively you can open a case with support and provide you system logs, all the information should be there so it will be easier to debug the issue.

Thanks,

Simon.

 

I can confirm this problem. found https://bugzilla.redhat.com/show_bug.cgi?id=845046. this describes my problem

 

RHEVM: 3.1.0-12.el6ev

VDSM: 4.9.6-28.0.el6_3

How reproducible:
constantly

Steps to Reproduce:
1. Create Preallocated or thin provision, VirtIO disk
2. Remove disk
  
Actual results:
Disk get status “locked”

Expected results: 
Successfully delete disk 

 

engine.log:

 

2012-09-06 09:20:58,305 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveDisk completed, handling the result.
2012-09-06 09:20:58,305 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveDisk hasnt succeeded, not clearing tasks, will attempt again next polling.
2012-09-06 09:20:58,311 INFO  [org.ovirt.engine.core.bll.RemoveDiskCommand] (pool-4-thread-49) Ending command successfully: org.ovirt.engine.core.bll.RemoveDiskCommand
2012-09-06 09:20:58,313 INFO  [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-4-thread-49) [35102ee2] Ending command successfully: org.ovirt.engine.core.bll.RemoveImageCommand
2012-09-06 09:20:58,338 ERROR [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-49) EntityAsyncTask::EndCommandAction [within thread]: EndAction for action type RemoveDisk threw an exception: java.lang.NullPointerException

 

2012-09-06 09:20:58,305 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveDisk completed, handling the result.
2012-09-06 09:20:58,305 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveDisk hasnt succeeded, not clearing tasks, will attempt again next polling.
2012-09-06 09:20:58,311 INFO  [org.ovirt.engine.core.bll.RemoveDiskCommand] (pool-4-thread-49) Ending command successfully: org.ovirt.engine.core.bll.RemoveDiskCommand
2012-09-06 09:20:58,313 INFO  [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-4-thread-49) [35102ee2] Ending command successfully: org.ovirt.engine.core.bll.RemoveImageCommand
2012-09-06 09:20:58,338 ERROR [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-49) EntityAsyncTask::EndCommandAction [within thread]: EndAction for action type RemoveDisk threw an exception: java.lang.NullPointerException

 

2012-09-06 09:20:58,305 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveDisk completed, handling the result.
2012-09-06 09:20:58,305 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveDisk hasnt succeeded, not clearing tasks, will attempt again next polling.
2012-09-06 09:20:58,311 INFO  [org.ovirt.engine.core.bll.RemoveDiskCommand] (pool-4-thread-49) Ending command successfully: org.ovirt.engine.core.bll.RemoveDiskCommand
2012-09-06 09:20:58,313 INFO  [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-4-thread-49) [35102ee2] Ending command successfully: org.ovirt.engine.core.bll.RemoveImageCommand
2012-09-06 09:20:58,338 ERROR [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-49) EntityAsyncTask::EndCommandAction [within thread]: EndAction for action type RemoveDisk threw an exception: java.lang.NullPointerException

The BZ you referenced has been fixed and tested, a fix should appear in the next beta release

Great news .  Thanks fellas