VM stuck in "Migrating to"
Can't start,stop, cancel migration or migrate the VM.
It's stuck in "Migrating to" in the RHEV GUI.
Think I hit this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=922490
Anyone else had this?
How do I recover the affected VMs?
Responses
I think by running the following two commands on the rhevm server you will be able to bring the VM into "down" state and then need to migrate the VM manually to the required host.
# psql -U engine -c "update vm_dynamic SET status=0 where vm_guid='xxxxxxxx';"
# psql -U engine -c "UPDATE vm_dynamic SET run_on_vds = null WHERE vm_guid='xxxxxxxx';"
Hi!
Thank you for your posting. I have the problem that a vm is in a pause status after a failed migration and nothing helps to change this over the gui. So I tried to change it with your postgres commands. And I can change the status while the engine-service ist stopped. But if I start the service again, vm_dynamic changes back on 4 (paused). So the db is not the only truth. Do you know where to search the place to find the status outside the db?
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
