Created attachment 593020 [details] logs Description of problem: import a vm more than once and remove the vm from the export domain will fail the import in vdsm with 'Internal block device write failure' Task will be removed from db but the vm will remain in image lock Version-Release number of selected component (if applicable): si6 How reproducible: 100% Steps to Reproduce: 1. import a vm 2. import the vm again and after copy starts remove vm from export domain 3. Actual results: vdsm will fail with 'Internal block device write failure' and task will be removed from db but vm will remain in image locked Expected results: we should rollback on command and remove vm from setup Additional info:logs task is bfe240fc-ba18-46e4-a28d-f93833553eb9 2012-06-19 19:58:46,699 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-29) [486b5d70] BaseAsyncTask::LogEndTaskFailure: Task 570319a3-c88b-48ce-b1a8-52d9389100b7 (Parent Command ImportVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended with failure: -- Result: cleanSuccess -- Message: VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = Error while processing volume meta data, -- Exception: VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = Error while processing volume meta data
merged upstream (http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=15716e867b4196a0a72f6b54ad2c2cfc653ef0f8)
verified on si8