Hi,
i tried to find way how to cancel hanged export task. I found that there should be some
hidden possibility, but it is still not released and i cannot find how to allow it.
i found how to remove this task directly from pg database on engine, but i am not sure if
this also will unlock that VM.
i cannot kill it by qemu-img process, because this process is not running.
stucked VM is ubuntu 20.04 with 3 disks 20 + 80 + 300GB . Already running more than 12
hours and still did not start making ova file (checking in export folder) . qemu-img
process on the host is missing .
i tried to export smaller VM 7GB and it was successfully done by 2 minutes. During export
qemu-img process was running on the host.
Thank you for any help.
BR
jan
Show replies by date
last log from /var/log/ovirt-engine/ova for this VM:
2022-09-22 03:35:41 CEST - TASK [ovirt-ova-export-pre-pack : Allocating the temporary path
for the OVA file] ***
and then many hours no change.
no qemu-img process ,, but i found that it hanged on :
root 30850 0.0 0.0 114740 2924 ? S Sep21 0:00 /bin/sh -f
/usr/sbin/xfs_mkfile -n 81257582592 /mnt/transfer/ovirtbackupexample.ova.tmp
root 30853 0.0 0.0 152756 2300 ? D Sep21 0:00 /usr/sbin/xfs_io -p
xfs_mkfile -ft -c truncate 81257582592 -- /mnt/transfer/ovirtbackupexample.ova.tmp
strace showed,that these processes do nothing,,, so i killed 30850 .
after kill, file /mnt/transfer/ovirtbackupexample.ova.tmp was created (strange ,i
know) ,,, task failed,, snapshot from VM was removed automatically and VM was unlocked.
So issue was fixed.
After this i removed already existed snapshot (forgotten , few months) on VM and try
export again ... export was succesfull and also import was smoothly.
when i will have free time, i will try to do export of VM with already existed snapshot.
BR
jan