[Users] Vm is in a "Image locked" status

Hi, Mentioned it before on the Node list but am trying it here as well. Somehow by stopping and starting stuff, hosts, vm's etc. I ended up with a VM that is in an "Image locked" state. The host (VDSM) the engine reports it's running on is active the storage doesn't have a disk for this vm, which it had when I installed it. This all happened when a migrate went wrong. My question is how to destroy this vm. It's just a test so I don't mind killing it, question is how. Thnx, Michel

Hi,
Mentioned it before on the Node list but am trying it here as well.
Somehow by stopping and starting stuff, hosts, vm's etc. I ended up with a VM that is in an "Image locked" state.
The host (VDSM) the engine reports it's running on is active the storage doesn't have a disk for this vm, which it had when I installed it.
This all happened when a migrate went wrong.
My question is how to destroy this vm. It's just a test so I don't mind killing it, question is how.
Thnx,
Michel _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Michel, can you please open a bug and attach vdsm+ovirt logs when the
On 03/14/2012 05:20 PM, Michel van Horssen wrote: problem happened. Make sure it's not running on each of the hosts. try to run : psql engine -c "SELECT * from vm_static where vm_name ilike 'xxx';" get the vm_guid from it and run: psql engine -c "update vm_dynamic SET status=0 where vm_guid='xxx-xxx-xxx';" Moran.

Hi Moran,
Michel, can you please open a bug and attach vdsm+ovirt logs when the problem happened.
The problem is that it was last week and I can't pin point the moment in the log files to put in the bug. Next time it happens I'll pick up the log file and put it in a bug.
Make sure it's not running on each of the hosts. try to run : psql engine -c "SELECT * from vm_static where vm_name ilike 'xxx';" get the vm_guid from it and run: psql engine -c "update vm_dynamic SET status=0 where vm_guid='xxx-xxx-xxx';"
This worked for me, it went to a down state and then I was able to remove it. Thnx for the help.
Moran.
Michel
participants (2)
-
Michel van Horssen
-
Moran Goldboim