I believe you've hit this bug:
https://bugzilla.redhat.c
om/show_bug.cgi?id=1565040
You can try to release the lease manually using the sanlock client command
(there's an example in the comments on the bug),
once the lease is free the job will fail and the disk can be unlock
On Thu, May 17, 2018 at 11:05 AM, <nicolas(a)devels.es> wrote:
Hi,
We're running oVirt 4.1.9 (I know it's not the recommended version, but we
can't upgrade yet) and recently we had an issue with a Storage Domain while
a VM was moving a disk. The Storage Domain went down for a few minutes,
then it got back.
However, the disk's state has stuck in a 'Migrating: 10%' state (see
ss-2.png).
I run the 'unlock_entity.sh' script to try to unlock the disk, with these
parameters:
# PGPASSWORD=... /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
-t disk -u engine -v b4013aba-a936-4a54-bb14-670d3a8b7c38
The disk's state changed to 'OK', but the actual state still states it's
migrating (see ss-1.png).
Calling the script with -t all doesn't make a difference either.
Currently, the disk is unmanageable: cannot be deactivated, moved or
copied, as it says there's a copying operation running already.
Could someone provide a way to unlock this disk? I don't mind modifying a
value directly into the database, I just need the copying process cancelled.
Thanks.
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org