[ovirt-users] Stalled disk migration

Nicolás nicolas at devels.es
Sun Oct 9 17:48:19 UTC 2016

Just to update:

I used: PGPASSWORD=dbpass 
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -v -u engine -d 
engine -t disk <disk-uuid>

This indeed got the disks back to the OK state, however, the task 
remained in the 'Events' tab so even with the unlocked disks I couldn't 
do anything, as oVirt complained about the disks being "moved", so I 
couldn't do anything of copying the disks, starting the VMs, moving the 
disks, etc.

"Miraculously" I checked the day after and both tasks disappeared from 
the Events tab, so I tried moving one disk again, with the same result: 
it stalled. I managed to copy the other disk to the destination 
datastore and attach it to the machine. This worked, but now I have one 
of the VMs still stalled even after running the "unlock_entity" script, 
as this time the task wasn't removed from the Events tab.


El 06/10/16 a las 19:45, Nicolás escribió:
> Hi,
> We've done a major datastore migration recently between 2 iSCSI-based 
> datastores. We've successfully migrated 35 machines, however, 5 of 
> them seem to have stalled. All we can see in the events tab tab is:
>   Moving Disk bla_Disk1 from iscsi01 to iscsi02
> Disks are small enough (25-27Gb) to assume this won't progress since 
> it's been more than 30 hs. since the migration began, other VMs took 
> approximately 1-1.5 hours to fully migrate a disk, so this seems to be 
> stalled.
> The bad thing is that I can't find a way to "unstall" it. Disks are in 
> a perpetual "migrating" status and there's no way to stop the 
> migration (at least from the webadmin). I don't actually care if 
> stopping the migration breaks those 5 machines since they are 
> disposable, I just need to stop that event. I already tried restarting 
> the ovirt-engine and it didn't work.
> Log doesn't seem to provide nothing relevant.
> Is there a way to do that? I wouldn't mind if I need to modify some 
> record directly into the DB.
> Thanks!
> Nicolás
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

More information about the Users mailing list