Created attachment 1535883 [details] engine.log Description of problem: One our user tried to preview taken snapshot but the task is jammed and never finished. Also disk is locked. Version-Release number of selected component (if applicable): ovirt 4.2.8.2-1.el7 How reproducible: not sure if reproducible every time but it was happened at least three times Steps to Reproduce: 1. try to priview snapshot in manager 2. wait... Actual results: The task is jammed and never finished. Also disk is locked. Expected results: Task is finished or task fails but eventually disk is unlocked. Additional info: enegine.log included, time is around 2019-02-12 11:27:23,185+01
btw. I also would like to unlock disk and clean this task. I can see locked snapshot and disk [root@ovirt dbutils]# ./unlock_entity.sh -q -t snapshot -c Locked snapshots vm_id | snapshot_id --------------------------------------+-------------------------------------- df27ee13-9961-41d5-a4eb-bbb0aadf9086 | 58998020-08cb-4c84-8847-0cb6790724ba [root@ovirt dbutils]# ./unlock_entity.sh -q -t disk -c Locked disks vm_id | disk_id --------------------------------------+-------------------------------------- df27ee13-9961-41d5-a4eb-bbb0aadf9086 | f6405448-baf8-4cc2-8ee7-798ca11cad10 but no runnig tasks [root@ovirt dbutils]# ./taskcleaner.sh -o t but in ovirt-manager I see this jammed task... Preview VM Snapshot predsysprep of VM install_10_64bit_LTSB_UK_ucebny - Started: Feb 12, 2019, 11:28:04 AM Validating - Completed: Feb 12, 2019, 11:28:04 AM Executing - Completed: Feb 12, 2019, 11:28:15 AM Creating Volume - Completed: Feb 12, 2019, 11:28:15 AM Finalizing - Started: Feb 12, 2019, 11:28:15 AM what is the best approach to unlock and clean this?
It appears that the snapshot has never finished finalizing. How old is the snapshot (or how bust is the VM)? The user experience here is bad, but I'm wondering whether the task is actually still running... I'll look at engine.log
The task is still running. Let's see if we can block the operation later, once there's capacity
This bug didn't get any attention for a while, we didn't have the capacity to make any progress. If you deeply care about it or want to work on it please assign/target accordingly
Closing old bug. Please reopen if still relevant/you want to work on it.
having this bug with ovirt 4.3 too