vm disk stuck on "paused by system"

Hi, i was working on my own backup application (web front end for ovirtsdk) and i somehow managed to get my Vm disks, stuck on status: "paused by system". I have tried to stop the backup and finalize the backup manually, but nothing works. ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot backup VM: Disk is locked. Please try again later.]". HTTP response code is 409. ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot stop VM backup. There is an active image transfer for VM backup]". HTTP response code is 409. The API is showing that a backup exists and is in state: <phase>ready</phase>, the backup cannot be transferd. I i try and take a full new backup of the VM, all i get is more snapshots stuck on "paused by system" i cannot delete the VM or the disk. Using lastest version of oVirt Software Version:4.5.4-1.el8

Did you try to finalize the disk transfer first? On Thu, Mar 9, 2023 at 7:14 PM <andreas_nikiforou@hotmail.com> wrote:
Hi,
i was working on my own backup application (web front end for ovirtsdk) and i somehow managed to get my Vm disks, stuck on status: "paused by system".
I have tried to stop the backup and finalize the backup manually, but nothing works.
ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot backup VM: Disk is locked. Please try again later.]". HTTP response code is 409. ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot stop VM backup. There is an active image transfer for VM backup]". HTTP response code is 409.
The API is showing that a backup exists and is in state: <phase>ready</phase>, the backup cannot be transferd.
I i try and take a full new backup of the VM, all i get is more snapshots stuck on "paused by system" i cannot delete the VM or the disk.
Using lastest version of oVirt Software Version:4.5.4-1.el8 _______________________________________________ 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/IULXGV45DBUVQT...

Yes i have, below is a snippet of DEBUG log: [root] < POST /ovirt-engine/api/vms/f9ec0eaa-1721-4114-a3b2-94fa6eca3f15/backups/10404c7c-1106-413b-9ced-bdd907e996a6/finalize HTTP/1.1 [root] > <detail>[Cannot stop VM backup. There is an active image transfer for VM backup]</detail> [root] > <reason>Operation Failed</reason> [root] > </fault>

I meant to finalize the transfer, not the backup: the api call is something like POST /ovirt-engine/imagetransfer/<transfer_id>/finalize On Thu, Mar 9, 2023 at 7:55 PM <andreas_nikiforou@hotmail.com> wrote:
Yes i have, below is a snippet of DEBUG log:
[root] < POST /ovirt-engine/api/vms/f9ec0eaa-1721-4114-a3b2-94fa6eca3f15/backups/10404c7c-1106-413b-9ced-bdd907e996a6/finalize HTTP/1.1 [root] > <detail>[Cannot stop VM backup. There is an active image transfer for VM backup]</detail> [root] > <reason>Operation Failed</reason> [root] > </fault> _______________________________________________ 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/Z33SMJ2B27HF3S...

I did not try that! found 2 transfers "paused by system" in /ovirt-engine/api/imagetransfers POST /ovirt-engine/api/imagetransfers/f48eb885-f82d-4f86-8e7f-cb995d1581f0/finalize <status>complete</status> POST /ovirt-engine/api/vms/f9ec0eaa-1721-4114-a3b2-94fa6eca3f15/backups/10404c7c-1106-413b-9ced-bdd907e996a6/finalize <status>complete</status> Now the task is stuck on backup finalizing > merge snapshots... which i deleted 6 hours ago, while trying to fix this issue or make it go away... So what next? :)

Never mind that, finalization just took about an hour to finish, but its done now. I was able to successfully delete the VM, all is good again, thanks.
participants (2)
-
andreas_nikiforou@hotmail.com
-
Benny Zlotnik