
This is a multi-part message in MIME format. --------------090609060600060403090209 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, I'm testing oVirt 3.6 for failover and have total issue. Snapshot VM will hang on ZFS filesystem. But the main questionis is : how can I cancel any unfinished tasks in ovirt ??? I didn't find any "normal" solution, except deleting record from ovirt DB manually any idea ? - no one is missing this functionality ??? regs. Pa. --------------090609060600060403090209 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body text="#000066" bgcolor="#FFFFFF"> Hello, <br> I'm testing oVirt 3.6 for failover and have total issue.<br> Snapshot VM will hang on ZFS filesystem.<br> But the main questionis is : how can I cancel any unfinished tasks in ovirt ???<br> I didn't find any "normal" solution, except deleting record from ovirt DB manually <br> <br> any idea ? - no one is missing this functionality ???<br> regs.<br> Pa.<br> </body> </html> --------------090609060600060403090209--

This is a multi-part message in MIME format. --------------030102090703040309050204 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hello, I met the same issue, so I worked a little bit for you :) On the engine : * QUERY : -q PGPASSWORD=3DXXXXX /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh= =20 -q -t snapshot -u engine 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2aed483= 92 * REMOVE PGPASSWORD=3DXXXXX /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh= =20 -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392 Ref : http://lists.ovirt.org/pipermail/users/2015-November/035686.html Le 18/02/2016 14:25, paf1@email.cz a =E9crit :
Hello, I'm testing oVirt 3.6 for failover and have total issue. Snapshot VM will hang on ZFS filesystem. But the main questionis is : how can I cancel any unfinished tasks in=20 ovirt ??? I didn't find any "normal" solution, except deleting record from ovirt=20 DB manually
any idea ? - no one is missing this functionality ??? regs. Pa.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--=20 Nathana=EBl Blanchet Supervision r=E9seau P=F4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=E9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr --------------030102090703040309050204 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html> <head> <meta content=3D"text/html; charset=3Dwindows-1252" http-equiv=3D"Content-Type"> </head> <body bgcolor=3D"#FFFFFF" text=3D"#000000"> Hello,<br> <br> I met the same issue, so I worked a little bit for you :)<br> On the engine :<br> <ul> <li>QUERY : -q</li> </ul> PGPASSWORD=3DXXXXX /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot -u engine<br> 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2aed48392<br> <ul> <li>REMOVE<br> </li> </ul> PGPASSWORD=3DXXXXX /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392<br> <br> Ref :<br> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/pipermail/users/2015-November/035686= .html">http://lists.ovirt.org/pipermail/users/2015-November/035686.html</= a> <br> <br> <br> <div class=3D"moz-cite-prefix">Le 18/02/2016 14:25, <a class=3D"moz-t= xt-link-abbreviated" href=3D"mailto:paf1@email.cz">paf1@email.cz</a> a =E9crit=A0:<br> </div> <blockquote cite=3D"mid:56C5C648.1080008@email.cz" type=3D"cite"> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dwindows-1252"> Hello, <br> I'm testing oVirt 3.6 for failover and have total issue.<br> Snapshot VM=A0 will hang on ZFS filesystem.<br> But the main questionis is : how can I cancel any unfinished tasks in ovirt ???<br> I didn't find any "normal" solution, except deleting record from ovirt DB manually <br> <br> any idea ? - no one is missing this functionality ???<br> regs.<br> Pa.<br> <br> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br> <pre wrap=3D"">_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org">Use= rs@ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/mailman= /listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <pre class=3D"moz-signature" cols=3D"72">--=20 Nathana=EBl Blanchet Supervision r=E9seau P=F4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=E9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:blanchet@abes.fr">bl= anchet@abes.fr</a> </pre> </body> </html> --------------030102090703040309050204--

------=_Part_23255326_1559877586.1455837985292 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable When I worked on Ovirt (a year ago) there was a tool that did it, please lo= ok for some cleaner tool or something like that.=20 In addition, last itme I touched the code I was strongly against such a sol= ution, are you sure that the task is not running on VDSM side?=20 CC'ing some relevant people.=20 ----- Original Message ----- From: "Nathana=C3=ABl Blanchet" <blanchet@abes.fr>=20 To: users@ovirt.org=20 Sent: Friday, February 19, 2016 12:51:06 AM=20 Subject: Re: [ovirt-users] delete hang task=20 Hello,=20 I met the same issue, so I worked a little bit for you :)=20 On the engine :=20 * QUERY : -q=20 PGPASSWORD=3DXXXXX /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -= q -t snapshot -u engine=20 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2aed48392= =20 * REMOVE=20 PGPASSWORD=3DXXXXX /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -= t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392=20 Ref :=20 http://lists.ovirt.org/pipermail/users/2015-November/035686.html=20 Le 18/02/2016 14:25, paf1@email.cz a =C3=A9crit :=20 Hello,=20 I'm testing oVirt 3.6 for failover and have total issue.=20 Snapshot VM will hang on ZFS filesystem.=20 But the main questionis is : how can I cancel any unfinished tasks in ovirt= ???=20 I didn't find any "normal" solution, except deleting record from ovirt DB m= anually=20 any idea ? - no one is missing this functionality ???=20 regs.=20 Pa.=20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/= users=20 --=20 Nathana=C3=ABl Blanchet Supervision r=C3=A9seau P=C3=B4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=C3=A9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr=20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 ------=_Part_23255326_1559877586.1455837985292 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>When I worked on Ovirt (a year a= go) there was a tool that did it, please look for some cleaner tool or some= thing like that.<br>In addition, last itme I touched the code I was strongl= y against such a solution, are you sure that the task is not running on VDS= M side?<br><br><br>CC'ing some relevant people.<br><br></div><div><br></div=
<hr id=3D"zwchr"><div style=3D"color:#000;font-weight:normal;font-style:no= rmal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:= 12pt;" data-mce-style=3D"color: #000; font-weight: normal; font-style: norm= al; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-si= ze: 12pt;"><b>From: </b>"Nathana=C3=ABl Blanchet" <blanchet@abes.fr><= br><b>To: </b>users@ovirt.org<br><b>Sent: </b>Friday, February 19, 2016 12:= 51:06 AM<br><b>Subject: </b>Re: [ovirt-users] delete hang task<br><div><br>= </div>Hello,<br> <br> I met the same issue, so I worked a little bit for yo= u :)<br> On the engine :<br><ul><li>QUERY : -q</li></ul>PGPASSWORD=3DXXXXX = /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot -u en= gine<br> 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac= 2aed48392<br><ul><li>REMOVE<br></li></ul>PGPASSWORD=3DXXXXX /usr/share/ovir= t-engine/setup/dbutils/unlock_entity.sh -t snapshot -u engine 525a4dda-dbbb= -4872-a5f1-8ac2aed48392<br> <br> Ref :<br> <a class=3D"moz-txt-link-freetex= t" href=3D"http://lists.ovirt.org/pipermail/users/2015-November/035686.html= " target=3D"_blank" data-mce-href=3D"http://lists.ovirt.org/pipermail/users= /2015-November/035686.html">http://lists.ovirt.org/pipermail/users/2015-Nov= ember/035686.html</a> <br> <br> <br><div class=3D"moz-cite-prefix">Le 18/02= /2016 14:25, <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:paf1@emai= l.cz" target=3D"_blank" data-mce-href=3D"mailto:paf1@email.cz">paf1@email.c= z</a> a =C3=A9crit :<br></div><blockquote cite=3D"mid:56C5C648.1080008= @email.cz">Hello, <br> I'm testing oVirt 3.6 for failover and have total is= sue.<br> Snapshot VM will hang on ZFS filesystem.<br> But the main qu= estionis is : how can I cancel any unfinished tasks in ovirt ???<br> I didn= 't find any "normal" solution, except deleting record from ovirt DB manuall= y <br> <br> any idea ? - no one is missing this functionality ???<br> regs.= <br> Pa.<br> <br><fieldset class=3D"mimeAttachmentHeader"></fieldset><br><p= re>_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org" targe= t=3D"_blank" data-mce-href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/mailman/l= istinfo/users" target=3D"_blank" data-mce-href=3D"http://lists.ovirt.org/ma= ilman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre></blockquote><br><pre class=3D"moz-signature">--=20 Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau P=C3=B4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=C3=A9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:blanchet@abes.fr" targ= et=3D"_blank" data-mce-href=3D"mailto:blanchet@abes.fr">blanchet@abes.fr</a=
</pre><br>_______________________________________________<br>Users mailin= g list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<= br></div><div><br></div></div></body></html> ------=_Part_23255326_1559877586.1455837985292--

On Thu, Feb 18, 2016 at 3:25 PM, paf1@email.cz <paf1@email.cz> wrote:
Hello, I'm testing oVirt 3.6 for failover and have total issue. Snapshot VM will hang on ZFS filesystem.
Can you open a bug for this with engine and vdsm logs?
But the main questionis is : how can I cancel any unfinished tasks in ovirt ???
We don't support canceling tasks, but it is on our roadmap. New storage tasks in 4.x should be cancelable.
I didn't find any "normal" solution, except deleting record from ovirt DB manually
To abort current running tasks, you can restart vdsmd on the host running the task. This should cause the task to fail on the engine side, and if all goes well, engine will fail the current operation and clean up properly. If engine did not clean up properly, you may need to use the unlock_entity tool mentioned in this thread. If the unlock_entity tool fails, you may need to unlock entities manually in the database, or delete record from the database. Nir
participants (4)
-
Nathanaël Blanchet
-
Nir Soffer
-
paf1@email.cz
-
Yair Zaslavsky