Hi Nicolas,

we had the same problem before we upgraded to 4.5.X

you can check locks with  /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t all  -qc

and then unlock

/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot snapshot_id

or sometime helped just power off and power on the VM and snapshot task failed.

Jirka

On 9/20/22 10:26, nicolas@devels.es wrote:
Hi,

We're running oVirt 4.4.8 and one of our users tried to create a snapshot on a VM. The snapshot task got stuck (not sure why) and since then a "locked" icon is being shown on the VM. We need to remove this VM, but since it has a pending task, we're unable.

The ovirt-engine log shows hundreds of events like:

[2022-09-20 09:23:09,286+01 INFO  [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-27) [2769dad5-3ec3-4c46-90a2-924746ea8d97] Command 'CreateSnapshotForVm' (id: '4fcb6ab7-2cd7-4a0c-be97-f6979be25bb9') waiting on child command id: 'cbb7a2c0-2111-4958-a55d-d48bf2d8591b' type:'CreateLiveSnapshotForVm' to complete

An ovirt-engine restart didn't make any difference.

Is there a way to remove this task manually, even changing something in the DB?

Thanks.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SWVFVEJFQ25N7OK2ZQQOX7FN7KXUS6JB/