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

Moran Goldboim mgoldboi at redhat.com
Wed Mar 14 16:04:39 UTC 2012


On 03/14/2012 05:20 PM, Michel van Horssen wrote:
> 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
Michel, can you please open a bug and attach vdsm+ovirt logs when the 
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.




More information about the Users mailing list