<html><body>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">Hrm, not sure what i am doing wrong then, does not seem to be working for me. I am not using the hosted engine, but a direct install on a physical server. I thought i have enabled support for libgfapi with this command:</div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);"> </div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);"># engine-config -g LibgfApiSupported<br />
LibgfApiSupported: false version: 3.6<br />
LibgfApiSupported: false version: 4.0<br />
LibgfApiSupported: true version: 4.1<br />
</div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">restarted the engine, shutdown the vm completely and started it back up a short time later.</div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);"> </div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">I am using this command to check:</div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);"> ps ax | grep qemu | grep 'file=gluster\|file=/rhev'</div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);"> </div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">Output is </div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);"> file=gluster://10.20.102.181/gl-vm12/....</div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);"> </div>
<div style="font-size: 13.3333px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">Thanks</div>
<div id="signature" style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">
<div>
<div>
<div>Bryan</div>
</div>
</div>
</div>
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original Message-----<br />
From: Kasturi Narra <knarra@redhat.com><br />
To: Bryan Sockel <Bryan.Sockel@altn.com><br />
Cc: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it>, users <users@ovirt.org><br />
Date: Tue, 14 Nov 2017 12:56:49 +0530<br />
Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2<br />
<div dir="ltr">yes, it does work with 4.1.7.6 version</div>
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Nov 14, 2017 at 4:49 AM, Bryan Sockel <span dir="ltr"><<a href="mailto:Bryan.Sockel@altn.com" target="_blank">Bryan.Sockel@altn.com</a>></span> wrote:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="font-size:13.3333px;font-family:Tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)">Is libgfapi supposed to be working in 4.1.7.6?</div>
<div id="m_-151496851037651372signature" style="font-family:Tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)">
<div>
<div>
<div><span class="HOEnZb"><font color="#888888">Bryan </font></span></div>
</div>
</div>
</div>
<div style="font-family:Tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)">
<blockquote style="PADDING-RIGHT:0px;PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:#000000 2px solid;MARGIN-RIGHT:0px"><span>-----Original Message-----<br />
From: Alessandro De Salvo <<a href="mailto:Alessandro.DeSalvo@roma1.infn.it" target="_blank">Alessandro.DeSalvo@roma1.<wbr />infn.it</a>></span><br />
<span>To: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br />
Date: Thu, 9 Nov 2017 09:35:01 +0100<br />
Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2<br />
</span>
<div>
<div class="h5">
<div>Hi again,</div>
<div>OK, tried to stop all the vms, except the engine, set <span style="background-color:rgba(255,255,255,0)">engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine.</span></div>
<div><span style="background-color:rgba(255,255,255,0)">When I tried restarting the VMs they are still not using gfapi, so it does not seem to help.</span></div>
<div><span style="background-color:rgba(255,255,255,0)">Cheers,</span></div>
<div> </div>
<div><span style="background-color:rgba(255,255,255,0)"> Alessandro</span></div>
<div> </div>
<div class="m_-151496851037651372moz-cite-prefix">Il 09/11/17 09:12, Alessandro De Salvo ha scritto:</div>
<blockquote type="cite">
<div> </div>
<div>
<div>Hi,</div>
<div>where should I enable gfapi via the UI?</div>
<div>The only command I tried was <span style="background-color:rgba(255,255,255,0)">engine-config -s LibgfApiSupported=true but the result is what is shown in my output below, so it’s set to true for v4.2. Is it enough?</span></div>
<div><span style="background-color:rgba(255,255,255,0)">I’ll try restarting the engine. Is it really needed to stop all the VMs and restart them all? Of course this is a test setup and I can do it, but for production clusters in the future it may be a problem.</span></div>
<div><span style="background-color:rgba(255,255,255,0)">Thanks,</span></div>
<div> </div>
<div><span style="background-color:rgba(255,255,255,0)"> Alessandro</span></div>
<div><br />
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <<a href="mailto:knarra@redhat.com" target="_blank">knarra@redhat.com</a>> ha scritto:<br />
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi ,
<div> </div>
<div> The procedure to enable gfapi is below.</div>
<div> </div>
<div>1) stop all the vms running</div>
<div>2) Enable gfapi via UI or using engine-config command</div>
<div>3) Restart ovirt-engine service</div>
<div>4) start the vms.</div>
<div> </div>
<div>Hope you have not missed any !!</div>
<div> </div>
<div>Thanks</div>
<div>kasturi </div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <span dir="ltr"><<a href="mailto:Alessandro.DeSalvo@roma1.infn.it" target="_blank">Alessandro.DeSalvo@roma1.<wbr />infn.it</a>></span> wrote:
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br />
<br />
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.<br />
<br />
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.<br />
<br />
The compatibility flag is correctly showing gfapi should be enabled with 4.2:<br />
<br />
# engine-config -g LibgfApiSupported<br />
LibgfApiSupported: false version: 3.6<br />
LibgfApiSupported: false version: 4.0<br />
LibgfApiSupported: false version: 4.1<br />
LibgfApiSupported: true version: 4.2<br />
<br />
The data center and cluster have the 4.2 compatibility flags as well.<br />
<br />
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.<br />
<br />
Any clue of what I'm still missing?<br />
<br />
Thanks,<br />
<br />
<br />
Alessandro<br />
<br />
______________________________<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></blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<fieldset class="m_-151496851037651372mimeAttachmentHeader"> </fieldset>
<pre>
______________________________<wbr />_________________
Users mailing list
<a class="m_-151496851037651372moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="m_-151496851037651372moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr />mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</div>
</blockquote>
</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 />
</blockquote>
</div>
</div>
</blockquote>
</div>
</body></html>