
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@bostonvineyard.org

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? dk On Mon, Apr 9, 2012 at 10:02 AM, Dominic Kaiser <dominic@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@bostonvineyard.org
-- Dominic Kaiser Greater Boston Vineyard Director of Operations cell: 617-230-1412 fax: 617-252-0238 email: dominic@bostonvineyard.org

--=_ade97113-d94f-4dc2-88cc-b3226552f211 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- 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@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@bostonvineyard.org
-- Dominic Kaiser Greater Boston Vineyard Director of Operations
cell: 617-230-1412 fax: 617-252-0238 email: dominic@bostonvineyard.org
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
<hr id=3D"zwchr"><blockquote id=3D"DWT2888" style=3D"border-left:2px solid= rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:n= ormal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sa= ns-serif;font-size:12pt;">I have fixed my first problem I had to destroy th= e storage domain. My second problem is still there I have an image th= at was importing and got stuck and is locked and will not come unlocked. &n= bsp;I deleted the vm manually but still says it is there and I can not dele= te 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 datab= ase perhaps?</blockquote>Hi Dominic,<br><blockquote style=3D"border-left: 2=
--=_ade97113-d94f-4dc2-88cc-b3226552f211 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: Times New Roman; font-size: 12pt; color: #000000'= px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(= 0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; f= ont-family: Helvetica,Arial,sans-serif; font-size: 12pt;"></blockquote>You = can run a DB query which will unlock the VM:<br>update vm_dynamic set statu= s =3D 0 where vm_guid in (select vm_guid from vm_static where vm_name =3D '= <strong>YOUR VM NAME HERE</strong>');<br><br>Do you know why the import did= n't finish, did you see something about this in the logs?<br><br>Regards,<b= r>Mike<br><blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); mar= gin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal;= font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sa= ns-serif; font-size: 12pt;"><div> <br></div><div>dk<br><br><div class=3D"gmail_quote">On Mon, Apr 9, 2012 at = 10:02 AM, Dominic Kaiser <span dir=3D"ltr"><<a href=3D"mailto:dominic@bo= stonvineyard.org" target=3D"_blank">dominic@bostonvineyard.org</a>></spa= n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt= 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Two different problems:<div><br></div><div>1. I was exporting a vm while im= porting one image from an exi server. I was importing a vm from the e= xport directory when I ran out of space on the export directory. I ha= ve free space now and plenty of it but the vm is still locked. How do= es the exporting vm recognize when there is free space again and continue o= r do I manually have to stop it?</div> <div><br></div><div>2. I was importing a vm that is still locked after 3 da= ys 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 ca= n we restart the process?<span class=3D"HOEnZb"><font color=3D"#888888"><br= clear=3D"all"> <div><br></div>-- <br>Dominic Kaiser<br>Greater Boston Vineyard<br>Director= of Operations<br><br>cell: <a href=3D"tel:617-230-1412" target=3D"_blank">= 617-230-1412</a><br>fax: <a href=3D"tel:617-252-0238" target=3D"_blank">617= -252-0238</a><br> email: <a href=3D"mailto:dominic@bostonvineyard.org" target=3D"_blank">domi= nic@bostonvineyard.org</a><br> <br><br> </font></span></div> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Dominic Kais= er<br>Greater Boston Vineyard<br>Director of Operations<br><br>cell: 617-23= 0-1412<br>fax: 617-252-0238<br>email: <a href=3D"mailto:dominic@bostonviney= ard.org" target=3D"_blank">dominic@bostonvineyard.org</a><br> <br><br> </div> <br>_______________________________________________<br>Users mailing list<b= r>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blo= ckquote><br></div></body></html> --=_ade97113-d94f-4dc2-88cc-b3226552f211--
participants (2)
-
Dominic Kaiser
-
Mike Kolesnik