<div dir="ltr">Hi,<div>The command is `vdsm-client Task getInfo taskID=<uuid>`</div><div><br></div><div>You can see available arguments in JSON format using `vdsm-client Task getInfo -h` command.<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 10:36 AM, Alex K <span dir="ltr"><<a href="mailto:rightkicktech@gmail.com" target="_blank">rightkicktech@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Benny, <br><br></div>I was trying to do it with vdsm-client without success. <br><br><span style="font-family:monospace,monospace">vdsm-client Task -h<br>usage: vdsm-client Task [-h] method [arg=value] ...<br><br>optional arguments:<br> -h, --help show this help message and exit<br><br>Task methods:<br> method [arg=value]<br> getInfo Get information about a Task.<br> getStatus Get Task status information.<br> revert Rollback a Task to restore the previous system state.<br> clear Discard information about a finished Task.<br> stop Stop a currently running Task.<br>[root@v0 common]# vdsm-client Task getInfo<br>vdsm-client: Command Task.getInfo with args {} failed:<br>(code=-32603, message=Internal JSON-RPC error: {'reason': '__init__() takes exactly 2 arguments (1 given)'})<br>[root@v0 common]# vdsm-client Task getStatus<br>vdsm-client: Command Task.getStatus with args {} failed:<br>(code=-32603, message=Internal JSON-RPC error: {'reason': '__init__() takes exactly 2 arguments (1 given)'})<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">What other arguments does this expect. When using Host namespace I am able to run the available options. </span><span style="font-family:monospace,monospace"><br><br></span></div><span style="font-family:monospace,monospace">Thanx, <br></span></div><span style="font-family:monospace,monospace">Alex<br></span><div><div><div><br></div></div></div></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 10:24 AM, Benny Zlotnik <span dir="ltr"><<a href="mailto:bzlotnik@redhat.com" target="_blank">bzlotnik@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It was replaced by vdsm-client[1]<br><br>[1] - <a href="https://www.ovirt.org/develop/developer-guide/vdsm/vdsm-client/" target="_blank">https://www.ovirt.org/develop/<wbr>developer-guide/vdsm/vdsm-clie<wbr>nt/</a><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_470802302288094565h5">On Tue, Feb 6, 2018 at 10:17 AM, Alex K <span dir="ltr"><<a href="mailto:rightkicktech@gmail.com" target="_blank">rightkicktech@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_470802302288094565h5"><div dir="ltr"><div>Hi all, <br><br></div><div>I have a stuck snapshot removal from a VM which is blocking the VM to start. <br></div><div>In ovirt 4.1 I was able to cancel the stuck task by running within SPM host: <br><br>
<span>vdsClient -s 0 getAllTasksStatuses<br>
<span>vdsClient -s 0 stopTask <task ID></span><br><br></span></div><div><span><span style="font-family:arial,helvetica,sans-serif">Is there a similar way to do at ovirt 4.2?</span><br><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Thanx, <br></span></div><div><span><span style="font-family:arial,helvetica,sans-serif">Alex</span><br></span></div><div><br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>IRIT</span> <span>GOIHMAN</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>SOFTWARE ENGINEER</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>EMEA VIRTUALIZATION R&D</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>EMEA</span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table><div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"><div style="color:rgb(153,153,153)"><a href="https://twitter.com/redhatnews" title="twitter" style="background-image:url("https://www.redhat.com/files/brand/email/sm-twitter.png");background-position:0px 50%;background-size:16px;background-repeat:no-repeat;background-origin:initial;background-clip:initial;background-color:transparent;height:20px;color:rgb(119,119,119);display:inline-block;line-height:20px;padding-left:16px" target="_blank">@redhatnews</a> <a href="https://www.linkedin.com/company/red-hat" title="LinkedIn" style="background-image:url("https://www.redhat.com/files/brand/email/sm-linkedin.png");background-position:0px 50%;background-size:16px;background-repeat:no-repeat;background-origin:initial;background-clip:initial;background-color:transparent;height:20px;color:rgb(119,119,119);display:inline-block;line-height:20px;padding-left:16px" target="_blank">Red Hat</a> <a href="https://www.facebook.com/RedHatInc" title="Facebook" style="background-image:url("https://www.redhat.com/files/brand/email/sm-facebook.png");background-position:0px 50%;background-size:16px;background-repeat:no-repeat;background-origin:initial;background-clip:initial;background-color:transparent;height:20px;color:rgb(119,119,119);display:inline-block;line-height:20px;padding-left:16px" target="_blank">Red Hat</a></div></div><div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"></div></div></div></div></div>
</div></div></div>