
It would be appreciated if you could file a bug and share the engine l= og that covers the attempt to export this VM to OVA + the ansible log o= f that operation.</div><div> </div><blockquote class=3D"gmail=5Fqu= ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left= :1ex"><br />Thanks.<br />Frank<p class=3D"m=5F-8163250753670249515Text2= "><br /> </p>Le Vendredi, Avril 13, 2018 16:24 CEST, Arik Hadas &l= t;<a target=3D"=5Fblank" href=3D"mailto:ahadas@redhat.com">ahadas@redha= t.com</a>> a =C3=A9crit:<br /> <blockquote type=3D"cite" cite=3D= "http://CAMCgCFGSJRUVE3pAhwoFZcmjzOBY=5FJgPhYrkEgF6e7tB=3D+2oyw@mail.gm= ail.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=
</div><div> </div><div>It is also possible to read parameters fro= m standard input, creating complex parameters interactively:</div>= <div> </div><div><div># cat <<EOF | vdsm-client Lease info -= f - &nbs=
<div> "sd=5Fid": "75ab4= 0e3-06b1-4a54-a825-2df7a<wbr />40b93b2", &n= bsp; </div><div> &= nbsp; "lease=5Fid": "b3f6fa00-b315-4ad4-8108= -f73da<wbr />817b5c5" = </div><div> }  = ; = = &= nbsp; </div><div> }  = ; = = &= nbsp; </div><div> = EOF </div></div><div> </div><div> </div><div><b><u>Con= structing a command from vdsm schema:</u></b></div><div> </div><di= v>Let's take VM.getStats as an example.</div><div>This is the entry in =
------=_=-_OpenGroupware_org_NGMime-17652-1523872312.930736-101------ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Length: 11769 Hi Arik, unfortunatly I couldn't discuss last friday with a colleague who needs = to work on the cluster this week-end. Discovering the freezed tasks, he= found a workaround by deleting the lines in the job table, and the tas= ks disappear in the GUI. Then... He drops the faulty VM :( But, I have shared the engine.log of april 11 and 12. The export to OVA= of the "CO7=5FVM1" vm was lauched around 17:01, with other vms (to the= same directory on host "victor"). Other vms exports end successfully b= ut not this one. Another export of the same vm was launched on april 12 at 10:42, to see= if it says "already working"... But it didn't, and the second task ran= s with the first, indefinitly.=C2=A0 This links are active for 2 days : https://seafile.systea.fr/f/12d90cc5c59b488c9fde/?dl=3D1 https://seafile.systea.fr/f/ce7cd61231924020bc62/?dl=3D1 I've not seen something revelant in it, but have a look ? This morning I tried to reproduce the problem. I've create a vm from te= mplate (50G). Migrate it : OK. Export it to OVA : OK. I then extended the disk to 100G, then tested again. Migrate it : OK. E= xport it to OVA...... OK :( So I wasn't able to reproduce the error. Thx Frank =C2=A0 Le Vendredi, Avril 13, 2018 21:53 CEST, Arik Hadas <ahadas@redhat.com> = a =C3=A9crit:=C2=A0=C2=A0=C2=A0On Fri, Apr 13, 2018 at 6:54 PM, fsoyer = <fsoyer@systea.fr> wrote: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 :(=C2=A0 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 !=C2=A0Please don't remove that VM yet.It would be = appreciated if you could file a bug and share the engine log that cover= s the attempt to export this VM to OVA + the ansible log of that operat= ion.=C2=A0 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=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0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=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=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A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0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=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 =C2=A0 ------=_=-_OpenGroupware_org_NGMime-17652-1523872312.930736-101------ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Length: 16293 <html>Hi Arik,<br />unfortunatly I couldn't discuss last friday with a = colleague who needs to work on the cluster this week-end. Discovering t= he freezed tasks, he found a workaround by deleting the lines in the jo= b table, and the tasks disappear in the GUI. Then... He drops the fault= y VM :(<br />But, I have shared the engine.log of april 11 and 12. The = export to OVA of the "CO7=5FVM1" vm was lauched around 17:01, with othe= r vms (to the same directory on host "victor"). Other vms exports end s= uccessfully but not this one.<br />Another export of the same vm was la= unched on april 12 at 10:42, to see if it says "already working"... But= it didn't, and the second task rans with the first, indefinitly. = <br />This links are active for 2 days :<br />https://seafile.systea.fr= /f/12d90cc5c59b488c9fde/?dl=3D1<br />https://seafile.systea.fr/f/ce7cd6= 1231924020bc62/?dl=3D1<br />I've not seen something revelant in it, but= have a look ?<br /><br />This morning I tried to reproduce the problem= . I've create a vm from template (50G). Migrate it : OK. Export it to O= VA : OK.<br />I then extended the disk to 100G, then tested again. Migr= ate it : OK. Export it to OVA...... OK :( So I wasn't able to reproduce= the error.<br /><br />Thx<br />Frank<br /> <p class=3D"Text1"><sp= an style=3D"color: rgb(51, 51, 51); font-family: sans-serif, Arial, Ver= dana, "Trebuchet MS"; font-size: 13px;">Le Vendredi, Avril 13= , 2018 21:53 CEST, Arik Hadas <ahadas@redhat.com> a =C3=A9crit:</= span></p> <blockquote type=3D"cite" cite=3D"CAMCgCFG48-HZuOb7qqnhn= NX73q-WZKyZ=3D1KZC7nGsUWPhVcBzg@mail.gmail.com"><div dir=3D"ltr"> = <div class=3D"gmail=5Fextra"> <div class=3D"gmail=5Fquote">On Fri,= Apr 13, 2018 at 6:54 PM, fsoyer <span dir=3D"ltr"><<a target=3D"=5F= blank" href=3D"mailto:fsoyer@systea.fr">fsoyer@systea.fr</a>></span>= wrote:<blockquote class=3D"gmail=5Fquote" style=3D"margin:0 0 0 .8ex;b= order-left:1px #ccc solid;padding-left:1ex">Hi,<br />This task is liste= d (since 2 days) in the GUI / up right "tasks" icon. It is visibly free= zed as no OVA file has been created, but no errors in GUI, just... it r= uns. Or : it loops :)<br />This (test) vm is one on which I have extend= ed the disk (50 -> 100G). Before 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 restart engine, change SPM, restart one by= one each node, but the task is always here. I could even restart the v= m today without error and it works fine ! But... the task runs...<br />= Today also, I tried to clone the vm : same thing, now I have 2 tasks ru= nning indefinitly :( </blockquote><blockquote class=3D"gmail=5Fquo= te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:= 1ex"><br />Strange bug, where no timeout stopped the tasks in error. I = can't see any revelant 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 t= he reason of the problem). But before I want to kill this tasks !</bloc= kquote><div> </div><div>Please don't remove that VM yet.</div><div= dir=3D"ltr"><<a target=3D"=5Fblank" href=3D"mailto:fsoyer@systea.fr= ">fsoyer@systea.fr</a>></span> wrote:<blockquote class=3D"gmail=5Fqu= ote" 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.</blockquot= e><div> </div><div>I'm afraid you won't find any task in VDSM for = 'export a VM to OVA'.</div><div>Expoting a VM to OVA is comprised of th= ree steps:</div><div>1. Creating temporary cloned 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 the temporary cloned disks= - you'll find a task of remove-image for each disk.</div><div> </= div><div>Can you please elaborate on the problem you're having - where = do you see that task and how can you see that it's blocked?</div><div>&= nbsp;</div><blockquote class=3D"gmail=5Fquote" style=3D"margin:0 0 0 .8= ex;border-left:1px #ccc solid;padding-left:1ex">I found that I can inte= ract with<br />vdsm-client Task getInfo taskID=3D<uuid>, and repl= ace getInfo by "stop", BUT : how can I find this UUID ???<br />Old "vds= Client -s 0 getAllTasksStatuses" has no equivalent ??<br /><br />Does s= omeone knows if a complete doc exists dot vdsm-client ?<br />Thanks<br = />Frank<p class=3D"m=5F-8163250753670249515m=5F-7891996504513696655Text= 2"><br /> </p><br /><br />Le Mercredi, Janvier 25, 2017 12:30 CET,= Irit Goihman <<a target=3D"=5Fblank" href=3D"mailto:igoihman@redhat= .com">igoihman@redhat.com</a>> a =C3=A9crit:<br /> <blockquote = type=3D"cite" cite=3D"http://CAA=3Di7HMsB7iRYqP9yyBx4w7pGer9rTE9wkJZRgc= mXRQMaJezwg@mail.gmail.com"><div dir=3D"ltr">Hi All,<div> </div><d= iv>vdsClient will be removed from master branch today.</div><div>It is = using XMLRPC protocol which has been deprecated and replaced by JSON-RP= C.</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 p= rotocol which was introduced in ovirt 3.5.</div><div> </div><div>T= he client is not aware of the available methods and parameters, and you= should consult </div><div>the schema [1] in order to construct th= e desired command.</div><div> </div><div>Future version should par= se the schema and provide online help.</div><div> </div><div> = ;</div><div>If you're using vdsClient, we will be happy to assist you i= n migrating to the new vdsm client.</div><div> </div><div> </= div><div> </div><div><b><u>vdsm-client usage:</u></b></div><div>&n= bsp;</div><div><div>vdsm-client [-h] [-a ADDRESS] [-p PORT] [--unsecure= ] [--timeout TIMEOUT]</div><div> &nbs= p; [-f FILE] namespace method [name=3Dvalue = [name=3Dvalue] ...]</div></div><div> </div><div> </div><div><= div>Invoking simple methods:</div><div> </div><div># vdsm-client H= ost getVMList</div><div>['b3f6fa00-b315-4ad4-8108-f73d<wbr />a817b5c5']= </div></div><div> </div><div>For invoking methods with many or com= plex parameters, you can read the parameters from a JSON format fi= le:</div><div> </div><div># vdsm-client Lease info -f lease.json</= div><div> </div><div>where lease.json file content is:</div><div>&= nbsp;</div><div><div>{ = = &= nbsp; &n= bsp;</div><div> "lease": { &nb= sp; &nbs= p;  = ; <= /div><div> "sd=5Fid": "= 75ab40e3-06b1-4a54-a825-2df7a<wbr />40b93b2", &nbs= p; </div><div> &nb= sp; "lease=5Fid": "b3f6fa00-b315-4ad= 4-8108-f73da<wbr />817b5c5" &= nbsp; </div><div> = } = = &= nbsp; </div><div> } </div= p; </div><div>&n= bsp; { &n= bsp; &nb= sp; &nbs= p;  = ;</div><div> "lease": { = &= nbsp; &n= bsp; </div= the schema:</div><div> </div><div><div>VM.getStats: = &= nbsp; &n= bsp; &nb= sp; </div><div> added: '3.1' &n= bsp; &nb= sp; &nbs= p; </div><div>&n= bsp; description: Get statistics about a running virtual machine= . </div><div>&nb= sp; params: &nb= sp; &nbs= p;  = ; </div><div> &nbs= p; - description: The UUID of the VM = = </div><div> = name: vmID &nb= sp; &nbs= p;  = ; </div><div> typ= e: *UUID = = &= nbsp; </div><div> return: = = &= nbsp; &nb= sp;</div><div> description: An array contain= ing a single VmStats record &= nbsp; </div><div> type: = &= nbsp; &n= bsp; &nb= sp; </div><div> - *VmStats  = ; = = </div></d= iv><div> </div><div>namespace: VM</div><div>method name: getStats<= /div><div>params: vmID</div><div> </div><div>The vdsm-client comma= nd is:</div><div> </div><div># vdsm-client VM getStats vmID=3D= b3f6fa00-b315-4ad4-8108-f<wbr />73da817b5c5</div><div> </div><div>= </div><div><div><b><u>Invoking getVdsCaps command:</u></b></div><= div> </div><div># vdsm-client Host getCapabilities</div></div=
<div> </div><div><div> </div><div> </div><div>Please co= nsult vdsm-client help and man page for further details and options.</d= iv><div> </div><div> </div><div> </div><div>[1] <a targe= t=3D"=5Fblank" href=3D"https://github.com/oVirt/vdsm/blob/master/lib/ap= i/vdsm-api.yml">https://github.com/oVirt/vdsm/<wbr />blob/master/lib/ap= i/vdsm-api.y<wbr />ml</a></div><div> </div><span class=3D"m=5F-816= 3250753670249515HOEnZb"><font color=3D"#888888">--</font></span><div cl= ass=3D"m=5F-8163250753670249515m=5F-7891996504513696655gmail=5Fsignatur= e"><div dir=3D"ltr"><span class=3D"m=5F-8163250753670249515HOEnZb"><fon= t color=3D"#888888">Irit Goihman</font></span><div><span class=3D"m=5F-= 8163250753670249515HOEnZb"><font color=3D"#888888">Software Engineer</f= ont></span></div><div><span class=3D"m=5F-8163250753670249515HOEnZb"><f= ont color=3D"#888888">Red Hat Israel Ltd.</font></span></div></div></di= v></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 lis= t<br /><a target=3D"=5Fblank" href=3D"mailto:Users@ovirt.org">Users@ovi= rt.org</a><br /><a rel=3D"noreferrer" target=3D"=5Fblank" href=3D"http:= //lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailma= n<wbr />/listinfo/users</a><br /> </blockquote></div></div></div><= /blockquote><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-1523872312.930736-101--------