Created attachment 812595 [details]
Description of problem:
After a failure in snapshot creation (during createVolume task), vdsm get the request from engine to perform roll-back and start a deleteImage task. This task gets stuck forever on vdsm. User has to stop and clean it manually.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
On a block pool:
- create a vm with 2 disks and run it
- create snapshot to the vm (with 'save memory' check-box checked) and during the createVolume task, restart vdsm service
vdsm gets the request from engine to perform roll-back and delete the image.
deleteImage task starts on vdsm and it won't end forever
Additional info: logs
Created attachment 812795 [details]
*** Bug 1023730 has been marked as a duplicate of this bug. ***
Vm with 2 disks created and runs. Block connection to storage and creted snapshot. Task fails and roll backs in engine.
Snapshot not created.
Vdc Bll exception. With error message VdcBLLException: Failed to create snapshot! (Failed with error VolumeCreationError and code 205)
2014-02-13 12:53:45,415 ERROR [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-6-thread-23) Transaction rolled-back for command: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand.
After resuming connection checked that there are no running tasks in vdsm on the host. getAllTasksInfo shows no tasks running.
Closing as part of 3.4.0