
I found that I can interact with<br />vdsm-client Task getInfo taskID=3D= <uuid>, and replace getInfo by "stop", BUT : how can I find this = UUID ???<br />Old "vdsClient -s 0 getAllTasksStatuses" has no equivalen= t ??<br /><br />Does someone knows if a complete doc exists dot vdsm-cl= ient ?<br />Thanks<br />Frank<p class=3D"m=5F-7891996504513696655Text2"= <br /> </p><br /><br />Le Mercredi, Janvier 25, 2017 12:30 CET, I= rit Goihman <<a target=3D"=5Fblank" href=3D"mailto:igoihman@redhat.c= om">igoihman@redhat.com</a>> a =C3=A9crit:<br /> <blockquote ty=
vdsClient will be removed from master branch today.</div><div>It is us= ing XMLRPC protocol which has been deprecated and replaced by JSON-RPC.= </div><div> </div><div>A new client for vdsm was introduced in 4.1= : vdsm-client.</div><div>This is a simple client that uses JSON-RPC pro= tocol which was introduced in ovirt 3.5.</div><div> </div><div>The= client is not aware of the available methods and parameters, and you s= hould consult </div><div>the schema [1] in order to construct the = desired command.</div><div> </div><div>Future version should parse=
------=_=-_OpenGroupware_org_NGMime-17652-1523634867.580834-85------ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Length: 10163 Hi, This task is listed (since 2 days) in the GUI / up right "tasks" icon. = It is visibly freezed as no OVA file has been created, but no errors in= GUI, just... it runs. Or : it loops :) This (test) vm is one on which I have extended the disk (50 -> 100G). B= efore being stopped and trying to export it to OVA, it works fine. All = other vms around can be well exported but not this one. I've tried to r= estart engine, change SPM, restart one by one each node, but the task i= s always here. I could even restart the vm today without error and it w= orks fine ! But... the task runs... Today also, I tried to clone the vm : same thing, now I have 2 tasks ru= nning indefinitly :( Strange bug, where no timeout stopped the tasks in error. I can't see a= ny revelant things in engine.log or vdsm.log, but probably I've not see= n them in all the messages. No problem to remove this (test) vm and try on another (test) one (exte= nd disk to see if this is the reason of the problem). But before I want= to kill this tasks ! Thanks. Frank =C2=A0Le Vendredi, Avril 13, 2018 16:24 CEST, Arik Hadas <ahadas@redhat= .com> a =C3=A9crit: =C2=A0=C2=A0=C2=A0On Fri, Apr 13, 2018 at 11:14 AM, fsoyer <fsoyer@syst= ea.fr> wrote:Hi all, I can't find any exhaustive doc for new vdsm-client. My problem actuall= y is a task (export a vm to OVA) blocked.=C2=A0I'm afraid you won't fin= d any task in VDSM for 'export a VM to OVA'.Expoting a VM to OVA is com= prised of three steps:1. Creating temporary cloned disks - you'll find = a task of copy-image-group for each disk.2. Creating the OVA file - tha= t's done by a python script executed by ansible, there is no task for t= hat in VDSM.3. Removing the temporary cloned disks - you'll find a task= of remove-image for each disk.=C2=A0Can you please elaborate on the pr= oblem you're having - where do you see that task and how can you see th= at it's blocked?=C2=A0I found that I can interact with vdsm-client Task getInfo taskID=3D<uuid>, and replace getInfo by "stop"= , BUT : how can I find this UUID ??? Old "vdsClient -s 0 getAllTasksStatuses" has no equivalent ?? Does someone knows if a complete doc exists dot vdsm-client ? Thanks Frank =C2=A0 Le Mercredi, Janvier 25, 2017 12:30 CET, Irit Goihman <igoihman@redhat.= com> a =C3=A9crit: =C2=A0Hi All,=C2=A0vdsClient will be removed from master branch today.I= t is using XMLRPC protocol which has been deprecated and replaced by JS= ON-RPC.=C2=A0A new client for vdsm was introduced in 4.1: vdsm-client.T= his is a simple client that uses JSON-RPC protocol which was introduced= in ovirt 3.5.=C2=A0The client is not aware of the available methods an= d parameters, and you should consult=C2=A0the schema [1] in order to co= nstruct the desired command.=C2=A0Future version should parse the schem= a and provide online help.=C2=A0=C2=A0If you're using vdsClient, we wil= l be happy to assist you in migrating to the new vdsm client.=C2=A0=C2=A0= =C2=A0vdsm-client usage:=C2=A0vdsm-client [-h] [-a ADDRESS] [-p PORT] [= --unsecure] [--timeout TIMEOUT]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0[-f FILE] namespace method [name=3Dvalue [n= ame=3Dvalue] ...]=C2=A0=C2=A0Invoking simple methods:=C2=A0# vdsm-clien= t Host getVMList['b3f6fa00-b315-4ad4-8108-f73da817b5c5']=C2=A0For invok= ing methods with many or complex parameters, you can read the=C2=A0para= meters from a JSON format file:=C2=A0# vdsm-client Lease info -f lease.= json=C2=A0where lease.json file content is:=C2=A0{ =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "lease":= { =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "sd=5Fid": "7= 5ab40e3-06b1-4a54-a825-2df7a40b93b2", =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "lease=5Fid": "b3f6fa00-b315-4ad4-8108-f73da817b5c5" = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 } =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2= =A0 } =C2=A0=C2=A0It is also possible to read parameters from standard = input, creating complex=C2=A0parameters interactively:=C2=A0# cat <<EOF= | vdsm-client Lease info -f - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0=C2=A0 =C2=A0 =C2=A0{ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"lease": { =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"sd=5Fid": "75ab40e3-06b1-4a54-a8= 25-2df7a40b93b2", =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"le= ase=5Fid": "b3f6fa00-b315-4ad4-8108-f73da817b5c5" =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0} =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 =C2=A0} =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 EOF =C2=A0=C2= =A0=C2=A0Constructing a command from vdsm schema:=C2=A0Let's take VM.ge= tStats as an example.This is the entry in the schema:=C2=A0VM.getStats:= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2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=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 - *VmS= tats =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0=C2=A0namespace: VMmethod name: getStatsparams: vmID=C2=A0The vds= m-client command is:=C2=A0# vdsm-client VM=C2=A0getStats vmID=3Db3f6fa0= 0-b315-4ad4-8108-f73da817b5c5=C2=A0=C2=A0Invoking getVdsCaps command:=C2= =A0# vdsm-client Host=C2=A0getCapabilities=C2=A0=C2=A0=C2=A0Please cons= ult vdsm-client help and man page for further details and options.=C2=A0= =C2=A0=C2=A0[1] https://github.com/oVirt/vdsm/blob/master/lib/api/vdsm-= api.yml=C2=A0--Irit GoihmanSoftware EngineerRed Hat Israel Ltd. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =C2=A0 ------=_=-_OpenGroupware_org_NGMime-17652-1523634867.580834-85------ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Length: 13427 <html>Hi,<br />This task is listed (since 2 days) in the GUI / up right= "tasks" icon. It is visibly freezed as no OVA file has been created, b= ut no errors in GUI, just... it runs. Or : it loops :)<br />This (test)= vm is one on which I have extended the disk (50 -> 100G). Before be= ing stopped and trying to export it to OVA, it works fine. All other vm= s around can be well exported but not this one. I've tried to restart e= ngine, change SPM, restart one by one each node, but the task is always= here. I could even restart the vm today without error and it works fin= e ! But... the task runs...<br />Today also, I tried to clone the vm : = same thing, now I have 2 tasks running indefinitly :(<br /><br />Strang= e bug, where no timeout stopped the tasks in error. I can't see any rev= elant things in engine.log or vdsm.log, but probably I've not seen them= in all the messages.<br />No problem to remove this (test) vm and try = on another (test) one (extend disk to see if this is the reason of the = problem). But before I want to kill this tasks !<br /><br />Thanks.<br = />Frank<p class=3D"Text2"><br /> </p>Le Vendredi, Avril 13, 2018 1= 6:24 CEST, Arik Hadas <ahadas@redhat.com> a =C3=A9crit:<br />&nbs= p;<blockquote type=3D"cite" cite=3D"CAMCgCFGSJRUVE3pAhwoFZcmjzOBY=5FJgP= hYrkEgF6e7tB=3D+2oyw@mail.gmail.com"><div dir=3D"ltr"> <div class=3D= "gmail=5Fextra"> <div class=3D"gmail=5Fquote">On Fri, Apr 13, 2018= at 11:14 AM, fsoyer <span dir=3D"ltr"><<a target=3D"=5Fblank" href=3D= "mailto:fsoyer@systea.fr">fsoyer@systea.fr</a>></span> wrote:<blockq= uote class=3D"gmail=5Fquote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Hi all,<br />I can't find any exhaustive = doc for new vdsm-client. My problem actually is a task (export a vm to = OVA) blocked.</blockquote><div> </div><div>I'm afraid you won't fi= nd any task in VDSM for 'export a VM to OVA'.</div><div>Expoting a VM t= o OVA is comprised of three steps:</div><div>1. Creating temporary clon= ed disks - you'll find a task of copy-image-group for each disk.</div><= div>2. Creating the OVA file - that's done by a python script executed = by ansible, there is no task for that in VDSM.</div><div>3. Removing th= e temporary cloned disks - you'll find a task of remove-image for each = disk.</div><div> </div><div>Can you please elaborate on the proble= m you're having - where do you see that task and how can you see that i= t's blocked?</div><div> </div><blockquote class=3D"gmail=5Fquote" = style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"= pe=3D"cite" cite=3D"http://CAA=3Di7HMsB7iRYqP9yyBx4w7pGer9rTE9wkJZRgcmX= RQMaJezwg@mail.gmail.com"><div dir=3D"ltr">Hi All,<div> </div><div= the schema and provide online help.</div><div> </div><div> <= /div><div>If you're using vdsClient, we will be happy to assist you in = migrating to the new vdsm client.</div><div> </div><div> </di= v><div> </div><div><b><u>vdsm-client usage:</u></b></div><div>&nbs= p;</div><div><div>vdsm-client [-h] [-a ADDRESS] [-p PORT] [--unsecure] = [--timeout TIMEOUT]</div><div> = [-f FILE] namespace method [name=3Dvalue [n= ame=3Dvalue] ...]</div></div><div> </div><div> </div><div><di= v>Invoking simple methods:</div><div> </div><div># vdsm-client Hos= t getVMList</div><div>['b3f6fa00-b315-4ad4-8108-<wbr />f73da817b5c5']</= div></div><div> </div><div>For invoking methods with many or compl= ex parameters, you can read the parameters from a JSON format file= :</div><div> </div><div># vdsm-client Lease info -f lease.json</di= v><div> </div><div>where lease.json file content is:</div><div>&nb= sp;</div><div><div>{ &= nbsp; &n= bsp; &nb= sp; &nbs= p;</div><div> "lease": {  = ; = = </d= iv><div> "sd=5Fid": "75= ab40e3-06b1-4a54-a825-<wbr />2df7a40b93b2", = </div><div>  = ; "lease=5Fid": "b3f6fa00-b315-4ad4-= 8108-<wbr />f73da817b5c5" &nb= sp; </div><div> } = &= nbsp; &n= bsp; &nb= sp; </div><div> } </div><= /div><div> </div><div>It is also possible to read parameters from = standard input, creating complex parameters interactively:</div><d= iv> </div><div><div># cat <<EOF | vdsm-client Lease info -f = - = </div><div>&nbs= p; { &nbs= p;  = ; = <= /div><div> "lease": { &n= bsp; &nb= sp; &nbs= p; </div><= div> "sd=5Fid": "75ab40e= 3-06b1-4a54-a825-<wbr />2df7a40b93b2", &nbs= p; </div><div> &nb= sp; "lease=5Fid": "b3f6fa00-b315-4ad4-8108-<= wbr />f73da817b5c5" &n= bsp; </div><div> } = &= nbsp; &n= bsp; &nb= sp; </div><div> } = &= nbsp; &n= bsp; &nb= sp; </div><div> E= OF </div></div><div> </div><div> </div><div><b><u>Const= ructing a command from vdsm schema:</u></b></div><div> </div><div>= Let's take VM.getStats as an example.</div><div>This is the entry in th= e schema:</div><div> </div><div><div>VM.getStats: &n= bsp; &nb= sp; &nbs= p;  = ; </div><div> added: '3.1' &nbs= p;  = ; = </div><div>&nbs= p; description: Get statistics about a running virtual machine. = </div><div> = ; params:  = ; = = </div><div> = - description: The UUID of the VM &= nbsp; &n= bsp; </div><div> &= nbsp; name: vmID  = ; = = </div><div> type:= *UUID &= nbsp; &n= bsp; &nb= sp; </div><div> return: &= nbsp; &n= bsp; &nb= sp;  = ;</div><div> description: An array containin= g a single VmStats record &nb= sp; </div><div> type: &n= bsp; &nb= sp; &nbs= p;  = ; </div><div> - *VmStats = &= nbsp; &n= bsp; </div></div=
<div> </div><div>namespace: VM</div><div>method name: getStats</d= iv><div>params: vmID</div><div> </div><div>The vdsm-client command= is:</div><div> </div><div># vdsm-client VM getStats vmID=3Db= 3f6fa00-b315-4ad4-8108-<wbr />f73da817b5c5</div><div> </div><div>&= nbsp;</div><div><div><b><u>Invoking getVdsCaps command:</u></b></div><d= iv> </div><div># vdsm-client Host getCapabilities</div></div>= <div> </div><div><div> </div><div> </div><div>Please con= sult vdsm-client help and man page for further details and options.</di= v><div> </div><div> </div><div> </div><div>[1] <a target= =3D"=5Fblank" href=3D"https://github.com/oVirt/vdsm/blob/master/lib/api= /vdsm-api.yml">https://github.com/oVirt/vdsm/<wbr />blob/master/lib/api= /vdsm-api.<wbr />yml</a></div><div> </div><span class=3D"HOEnZb"><= font color=3D"#888888">--</font></span><div class=3D"m=5F-7891996504513= 696655gmail=5Fsignature"><div dir=3D"ltr"><span class=3D"HOEnZb"><font =
color=3D"#888888">Irit Goihman</font></span><div><span class=3D"HOEnZb"= ><font color=3D"#888888">Software Engineer</font></span></div><div><spa= n class=3D"HOEnZb"><font color=3D"#888888">Red Hat Israel Ltd.</font></= span></div></div></div></div></div></blockquote><br /><br /><br />=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F<wbr />=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<= br />Users mailing list<br /><a href=3D"mailto:Users@ovirt.org">Users@o= virt.org</a><br /><a rel=3D"noreferrer" target=3D"=5Fblank" href=3D"htt= p://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/<wbr= />mailman/listinfo/users</a><br /> </blockquote></div></div></div= ></blockquote><br /><br /><style type=3D"text/css">.Text1 { color: black; font-size:9pt; font-family:Verdana; } .Text2 { color: black; font-size:7pt; font-family:Verdana; }</style></html>
------=_=-_OpenGroupware_org_NGMime-17652-1523634867.580834-85--------