Created attachment 638681[details]
logs and screen shots
Description of problem:
power down of a vm while the storage live migration snapshot is created (for move disk) will leave the vm's snapshot and disks in image lock.
there are no tasks to clean that would prevent the lock from being freed.
Version-Release number of selected component (if applicable):
si24
How reproducible:
100%
Steps to Reproduce:
1. run a vm
2. move image -> while the snapshot is created power down the vm
3.
Actual results:
we will fail the move disk but the snapshot and disk images will remain locked (not a task clear issue since after roll back there are no tasks at all in vdsm or async tasks table)
Expected results:
snapshot and disks should be freed.
Additional info: logs + screen shot
engine=# SELECT * from async_tasks;
task_id | action_type | status | result | action_parameters | action_params_class | step_id | command_id | started_at | storage_pool_id | task_type
---------+-------------+--------+--------+-------------------+---------------------+---------+------------+------------+-----------------+-----------
[root@gold-vdsc ~]# vdsClient -s 0 getAllTasksInfo
[root@gold-vdsc ~]#
Created attachment 638681 [details] logs and screen shots Description of problem: power down of a vm while the storage live migration snapshot is created (for move disk) will leave the vm's snapshot and disks in image lock. there are no tasks to clean that would prevent the lock from being freed. Version-Release number of selected component (if applicable): si24 How reproducible: 100% Steps to Reproduce: 1. run a vm 2. move image -> while the snapshot is created power down the vm 3. Actual results: we will fail the move disk but the snapshot and disk images will remain locked (not a task clear issue since after roll back there are no tasks at all in vdsm or async tasks table) Expected results: snapshot and disks should be freed. Additional info: logs + screen shot engine=# SELECT * from async_tasks; task_id | action_type | status | result | action_parameters | action_params_class | step_id | command_id | started_at | storage_pool_id | task_type ---------+-------------+--------+--------+-------------------+---------------------+---------+------------+------------+-----------------+----------- [root@gold-vdsc ~]# vdsClient -s 0 getAllTasksInfo [root@gold-vdsc ~]#