[Users] locked images problem

Mike Kolesnik mkolesni at redhat.com
Tue Apr 10 07:31:27 UTC 2012


----- Original Message -----

> I have fixed my first problem I had to destroy the storage domain. My
> second problem is still there I have an image that was importing and
> got stuck and is locked and will not come unlocked. I deleted the vm
> manually but still says it is there and I can not delete it. It is
> on an nfs storage data domain not the main. I have manually deleted
> the vm and image as root. But still have it listed in the gui. Is
> there somewhere else I can get rid of image info database perhaps?
Hi Dominic, 

You can run a DB query which will unlock the VM: 
update vm_dynamic set status = 0 where vm_guid in (select vm_guid from vm_static where vm_name = ' YOUR VM NAME HERE '); 

Do you know why the import didn't finish, did you see something about this in the logs? 

Regards, 
Mike 

> dk

> On Mon, Apr 9, 2012 at 10:02 AM, Dominic Kaiser <
> dominic at bostonvineyard.org > wrote:

> > Two different problems:
> 

> > 1. I was exporting a vm while importing one image from an exi
> > server.
> > I was importing a vm from the export directory when I ran out of
> > space on the export directory. I have free space now and plenty of
> > it but the vm is still locked. How does the exporting vm recognize
> > when there is free space again and continue or do I manually have
> > to
> > stop it?
> 

> > 2. I was importing a vm that is still locked after 3 days and the
> > size of disk have been transfered as shown by the storage domain.
> > It
> > is done but still locked. How can we unlock manually or can we
> > restart the process?
> 

> > --
> 
> > Dominic Kaiser
> 
> > Greater Boston Vineyard
> 
> > Director of Operations
> 

> > cell: 617-230-1412
> 
> > fax: 617-252-0238
> 
> > email: dominic at bostonvineyard.org
> 

> --
> Dominic Kaiser
> Greater Boston Vineyard
> Director of Operations

> cell: 617-230-1412
> fax: 617-252-0238
> email: dominic at bostonvineyard.org

> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120410/12543bc8/attachment-0001.html>


More information about the Users mailing list