Enabling libgfapi disk access with oVirt 4.2

Hi, I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it. My test setup has an external glusterfs cluster v3.12, not managed by oVirt. The compatibility flag is correctly showing gfapi should be enabled with 4.2: # engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2 The data center and cluster have the 4.2 compatibility flags as well. However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse. Any clue of what I'm still missing? Thanks, Alessandro

Hi , The procedure to enable gfapi is below. 1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms. Hope you have not missed any !! Thanks kasturi On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo < Alessandro.DeSalvo@roma1.infn.it> wrote:
Hi,
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.
The compatibility flag is correctly showing gfapi should be enabled with 4.2:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2
The data center and cluster have the 4.2 compatibility flags as well.
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.
Any clue of what I'm still missing?
Thanks,
Alessandro
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

--Apple-Mail-3737E637-2871-4217-90AC-AA2DE16640BC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, where should I enable gfapi via the UI? The only command I tried was engine-config -s LibgfApiSupported=3Dtrue but t= he result is what is shown in my output below, so it=E2=80=99s set to true f= or v4.2. Is it enough? I=E2=80=99ll try restarting the engine. Is it really needed to stop all the V= Ms 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. Thanks, Alessandro
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> h= a scritto: =20 Hi , =20 The procedure to enable gfapi is below. =20 1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms. =20 Hope you have not missed any !! =20 Thanks kasturi=20 =20
On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@= roma1.infn.it> wrote: Hi, =20 I'm using the latest 4.2 beta release and want to try the gfapi access, b= ut I'm currently failing to use it. =20 My test setup has an external glusterfs cluster v3.12, not managed by oVi= rt. =20 The compatibility flag is correctly showing gfapi should be enabled with 4= .2: =20 # engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2 =20 The data center and cluster have the 4.2 compatibility flags as well. =20 However, when starting a VM with a disk on gluster I can still see the di= sk is mounted via fuse. =20 Any clue of what I'm still missing? =20 Thanks, =20 =20 Alessandro =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20
<span style=3D"background-color: rgba(255, 255, 255, 0);">Thanks,</span></d= iv><div><span style=3D"background-color: rgba(255, 255, 255, 0);"><br></span= </div><div><span style=3D"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=3D"mailto:knarra@redhat.com">knarra@redhat.com</= a>> ha scritto:<br><br></div><blockquote type=3D"cite"><div><div dir=3D"l=
--Apple-Mail-3737E637-2871-4217-90AC-AA2DE16640BC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto"><div><span></span></div><div><div></div><di= v>Hi,</div><div>where should I enable gfapi via the UI?</div><div>The only c= ommand I tried was <span style=3D"background-color: rgba(255, 255, 255,= 0);">engine-config -s LibgfApiSupported=3Dtrue but the result is what is sh= own in my output below, so it=E2=80=99s set to true for v4.2. Is it enough?<= /span></div><div><span style=3D"background-color: rgba(255, 255, 255, 0);">I= =E2=80=99ll try restarting the engine. Is it really needed to stop all the V= Ms 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= tr">Hi ,<div><br></div><div> The procedure to enable gfapi is b= elow.</div><div><br></div><div>1) stop all the vms running</div><div>2) Enab= le gfapi via UI or using engine-config command</div><div>3) Restart ovirt-en= gine service</div><div>4) start the vms.</div><div><br></div><div>Hope you h= ave not missed any !!</div><div><br></div><div>Thanks</div><div>kasturi = ;</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On We= d, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <span dir=3D"ltr"><<a hre= f=3D"mailto:Alessandro.DeSalvo@roma1.infn.it" target=3D"_blank">Alessandro.D= eSalvo@roma1.infn.it</a>></span> wrote:<br><blockquote class=3D"gmail_quo= te" style=3D"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 i= s 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=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br>= <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer"= target=3D"_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br=
</blockquote></div><br></div> </div></blockquote></div></body></html>= --Apple-Mail-3737E637-2871-4217-90AC-AA2DE16640BC--

This is a multi-part message in MIME format. --------------9FB49E735354C2FDFBF5FB22 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi again, OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine. When I tried restarting the VMs they are still not using gfapi, so it does not seem to help. Cheers, Alessandro Il 09/11/17 09:12, Alessandro De Salvo ha scritto:
Hi, where should I enable gfapi via the UI? The only command I tried was 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? 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. Thanks,
Alessandro
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com <mailto:knarra@redhat.com>> ha scritto:
Hi ,
The procedure to enable gfapi is below.
1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms.
Hope you have not missed any !!
Thanks kasturi
On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it <mailto:Alessandro.DeSalvo@roma1.infn.it>> wrote:
Hi,
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.
The compatibility flag is correctly showing gfapi should be enabled with 4.2:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2
The data center and cluster have the 4.2 compatibility flags as well.
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.
Any clue of what I'm still missing?
Thanks,
Alessandro
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------9FB49E735354C2FDFBF5FB22 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="#000000" bgcolor="#FFFFFF"> <p>Hi again,</p> <p>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></p> <p><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></p> <p><span style="background-color: rgba(255, 255, 255, 0);">Cheers,</span></p> <p><span style="background-color: rgba(255, 255, 255, 0);"><br> </span></p> <p><span style="background-color: rgba(255, 255, 255, 0);"> Alessandro<br> </span></p> <p><span style="background-color: rgba(255, 255, 255, 0);"><br> </span></p> <br> <div class="moz-cite-prefix">Il 09/11/17 09:12, Alessandro De Salvo ha scritto:<br> </div> <blockquote type="cite" cite="mid:FBF80E1D-1006-40BA-B240-35809E71B8BD@roma1.infn.it"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <div><span></span></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><span style="background-color: rgba(255, 255, 255, 0);"><br> </span></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" moz-do-not-send="true">knarra@redhat.com</a>> ha scritto:<br> <br> </div> <blockquote type="cite"> <div> <div dir="ltr">Hi , <div><br> </div> <div> The procedure to enable gfapi is below.</div> <div><br> </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><br> </div> <div>Hope you have not missed any !!</div> <div><br> </div> <div>Thanks</div> <div>kasturi </div> </div> <div class="gmail_extra"><br> <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" moz-do-not-send="true">Alessandro.DeSalvo@roma1.infn.it</a>></span> wrote:<br> <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" moz-do-not-send="true">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> </blockquote> </div> <br> </div> </div> </blockquote> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------9FB49E735354C2FDFBF5FB22--

From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt = 4.2 Date: November 9, 2017 at 2:35:01 AM CST To: users@ovirt.org =20 Hi again, =20 OK, tried to stop all the vms, except the engine, set engine-config -s = LibgfApiSupported=3Dtrue (for 4.2 only) and restarted the engine. =20 When I tried restarting the VMs they are still not using gfapi, so it = does not seem to help. =20 Cheers, =20 =20 =20 Alessandro =20 =20 =20 =20 Il 09/11/17 09:12, Alessandro De Salvo ha scritto:
Hi, where should I enable gfapi via the UI? The only command I tried was engine-config -s LibgfApiSupported=3Dtrue = but the result is what is shown in my output below, so it=E2=80=99s set = to true for v4.2. Is it enough? I=E2=80=99ll 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 =
Thanks, =20 Alessandro =20 Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra = <knarra@redhat.com <mailto:knarra@redhat.com>> ha scritto: =20
Hi , =20 The procedure to enable gfapi is below. =20 1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms. =20 Hope you have not missed any !! =20 Thanks kasturi=20 =20 On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo = <Alessandro.DeSalvo@roma1.infn.it = <mailto:Alessandro.DeSalvo@roma1.infn.it>> wrote: Hi, =20 I'm using the latest 4.2 beta release and want to try the gfapi = access, but I'm currently failing to use it. =20 My test setup has an external glusterfs cluster v3.12, not managed = by oVirt. =20 The compatibility flag is correctly showing gfapi should be enabled = with 4.2: =20 # engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2 =20 The data center and cluster have the 4.2 compatibility flags as = well. =20 However, when starting a VM with a disk on gluster I can still see =
--Apple-Mail=_AECA94BD-480C-415E-8612-0BDEF0461A9E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 You do need to stop the VMs and restart them, not just issue a reboot. I = havn=E2=80=99t tried under 4.2 yet, but it works in 4.1.6 that way for = me. problem. the disk is mounted via fuse.
=20 Any clue of what I'm still missing? =20 Thanks, =20 =20 Alessandro =20 _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> =20 =20 =20
Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> =20
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_AECA94BD-480C-415E-8612-0BDEF0461A9E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">You = do need to stop the VMs and restart them, not just issue a reboot. I = havn=E2=80=99t tried under 4.2 yet, but it works in 4.1.6 that way for = me.<div class=3D""><br class=3D""><div class=3D""><div><blockquote = type=3D"cite" class=3D""><hr style=3D"border:none;border-top:solid = #B5C4DF 1.0pt;padding:0 0 0 0;margin:10px 0 5px 0;" class=3D""><span = style=3D"margin: -1.3px 0.0px 0.0px 0.0px" id=3D"RwhHeaderAttributes" = class=3D""><font face=3D"Helvetica" size=3D"4" color=3D"#000000" = style=3D"font: 13.0px Helvetica; color: #000000" class=3D""><b = class=3D"">From:</b> Alessandro De Salvo <<a = href=3D"mailto:Alessandro.DeSalvo@roma1.infn.it" = class=3D"">Alessandro.DeSalvo@roma1.infn.it</a>></font></span><br = class=3D""> <span style=3D"margin: -1.3px 0.0px 0.0px 0.0px" class=3D""><font = face=3D"Helvetica" size=3D"4" color=3D"#000000" style=3D"font: 13.0px = Helvetica; color: #000000" class=3D""><b class=3D"">Subject:</b> Re: = [ovirt-users] Enabling libgfapi disk access with oVirt = 4.2</font></span><br class=3D""> <span style=3D"margin: -1.3px 0.0px 0.0px 0.0px" class=3D""><font = face=3D"Helvetica" size=3D"4" color=3D"#000000" style=3D"font: 13.0px = Helvetica; color: #000000" class=3D""><b class=3D"">Date:</b> November = 9, 2017 at 2:35:01 AM CST</font></span><br class=3D""> <span style=3D"margin: -1.3px 0.0px 0.0px 0.0px" class=3D""><font = face=3D"Helvetica" size=3D"4" color=3D"#000000" style=3D"font: 13.0px = Helvetica; color: #000000" class=3D""><b class=3D"">To:</b> <a = href=3D"mailto:users@ovirt.org" = class=3D"">users@ovirt.org</a></font></span><br class=3D""> <br class=3D"Apple-interchange-newline"><div class=3D""> =20 <meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8" class=3D""> =20 <div text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D""><p class=3D"">Hi = again,</p><p class=3D"">OK, tried to stop all the vms, except the = engine, set <span style=3D"background-color: rgba(255, 255, 255, 0);" = class=3D"">engine-config -s LibgfApiSupported=3Dtrue (for 4.2 only) and restarted the engine.</span></p><p class=3D""><span style=3D"background-color: = rgba(255, 255, 255, 0);" class=3D"">When I tried restarting the VMs they are still not using gfapi, so it does not seem to help.</span></p><p class=3D""><span = style=3D"background-color: rgba(255, 255, 255, 0);" = class=3D"">Cheers,</span></p><p class=3D""><span = style=3D"background-color: rgba(255, 255, 255, 0);" class=3D""><br = class=3D""> </span></p><p class=3D""><span style=3D"background-color: = rgba(255, 255, 255, 0);" class=3D""> Alessandro<br class=3D""> </span></p><p class=3D""><span style=3D"background-color: = rgba(255, 255, 255, 0);" class=3D""><br class=3D""> </span></p> <br class=3D""> <div class=3D"moz-cite-prefix">Il 09/11/17 09:12, Alessandro De = Salvo ha scritto:<br class=3D""> </div> <blockquote type=3D"cite" = cite=3D"mid:FBF80E1D-1006-40BA-B240-35809E71B8BD@roma1.infn.it" = class=3D""> <meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8" class=3D""> <div class=3D""><span class=3D""></span></div> <div class=3D""> <div class=3D"">Hi,</div> <div class=3D"">where should I enable gfapi via the UI?</div> <div class=3D"">The only command I tried was <span = style=3D"background-color: rgba(255, 255, 255, 0);" class=3D"">engine-config -s LibgfApiSupported=3Dtrue but the result is what is shown in = my output below, so it=E2=80=99s set to true for v4.2. Is it = enough?</span></div> <div class=3D""><span style=3D"background-color: rgba(255, 255, = 255, 0);" class=3D"">I=E2=80=99ll 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 class=3D""><span style=3D"background-color: rgba(255, 255, = 255, 0);" class=3D"">Thanks,</span></div> <div class=3D""><span style=3D"background-color: rgba(255, 255, = 255, 0);" class=3D""><br class=3D""> </span></div> <div class=3D""><span style=3D"background-color: rgba(255, 255, = 255, 0);" class=3D""> Alessandro</span></div> <div class=3D""><br class=3D""> Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <<a = href=3D"mailto:knarra@redhat.com" moz-do-not-send=3D"true" = class=3D"">knarra@redhat.com</a>> ha scritto:<br class=3D""> <br class=3D""> </div> <blockquote type=3D"cite" class=3D""> <div class=3D""> <div dir=3D"ltr" class=3D"">Hi , <div class=3D""><br class=3D""> </div> <div class=3D""> The procedure to enable = gfapi is below.</div> <div class=3D""><br class=3D""> </div> <div class=3D"">1) stop all the vms running</div> <div class=3D"">2) Enable gfapi via UI or using = engine-config command</div> <div class=3D"">3) Restart ovirt-engine service</div> <div class=3D"">4) start the vms.</div> <div class=3D""><br class=3D""> </div> <div class=3D"">Hope you have not missed any !!</div> <div class=3D""><br class=3D""> </div> <div class=3D"">Thanks</div> <div class=3D"">kasturi </div> </div> <div class=3D"gmail_extra"><br class=3D""> <div class=3D"gmail_quote">On Wed, Nov 8, 2017 at 11:58 = PM, Alessandro De Salvo <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:Alessandro.DeSalvo@roma1.infn.it" target=3D"_blank" = moz-do-not-send=3D"true" = class=3D"">Alessandro.DeSalvo@roma1.infn.it</a>></span> wrote:<br class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc = solid;padding-left:1ex">Hi,<br class=3D""> <br class=3D""> 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 class=3D""> <br class=3D""> My test setup has an external glusterfs cluster v3.12, not managed by oVirt.<br class=3D""> <br class=3D""> The compatibility flag is correctly showing gfapi should be enabled with 4.2:<br class=3D""> <br class=3D""> # engine-config -g LibgfApiSupported<br class=3D""> LibgfApiSupported: false version: 3.6<br class=3D""> LibgfApiSupported: false version: 4.0<br class=3D""> LibgfApiSupported: false version: 4.1<br class=3D""> LibgfApiSupported: true version: 4.2<br class=3D""> <br class=3D""> The data center and cluster have the 4.2 compatibility flags as well.<br class=3D""> <br class=3D""> However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.<br = class=3D""> <br class=3D""> Any clue of what I'm still missing?<br class=3D""> <br class=3D""> Thanks,<br class=3D""> <br class=3D""> <br class=3D""> Alessandro<br class=3D""> <br class=3D""> ______________________________<wbr = class=3D"">_________________<br class=3D""> Users mailing list<br class=3D""> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank" = moz-do-not-send=3D"true" class=3D"">Users@ovirt.org</a><br class=3D""> <a = href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer" = target=3D"_blank" moz-do-not-send=3D"true" = class=3D"">http://lists.ovirt.org/mailman<wbr = class=3D"">/listinfo/users</a><br class=3D""> </blockquote> </div> <br class=3D""> </div> </div> </blockquote> </div> <br class=3D""> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br class=3D""> <pre wrap=3D"" = class=3D"">_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" = href=3D"mailto:Users@ovirt.org">Users@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 class=3D""> </div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br = class=3D""></div></div></body></html>= --Apple-Mail=_AECA94BD-480C-415E-8612-0BDEF0461A9E--

Hi, will it be a more clean approach? I can't tolerate full stop of all VMs just to enable it, seems too disastrous for real production environment. Will it be some migration mechanisms in future? Best regards, Misak Khachatryan On Fri, Nov 10, 2017 at 12:35 AM, Darrell Budic <budic@onholyground.com> wrote:
You do need to stop the VMs and restart them, not just issue a reboot. I havn’t tried under 4.2 yet, but it works in 4.1.6 that way for me.
________________________________ From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 Date: November 9, 2017 at 2:35:01 AM CST To: users@ovirt.org
Hi again,
OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine.
When I tried restarting the VMs they are still not using gfapi, so it does not seem to help.
Cheers,
Alessandro
Il 09/11/17 09:12, Alessandro De Salvo ha scritto:
Hi, where should I enable gfapi via the UI? The only command I tried was 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? 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. Thanks,
Alessandro
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto:
Hi ,
The procedure to enable gfapi is below.
1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms.
Hope you have not missed any !!
Thanks kasturi
On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> wrote:
Hi,
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.
The compatibility flag is correctly showing gfapi should be enabled with 4.2:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2
The data center and cluster have the 4.2 compatibility flags as well.
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.
Any clue of what I'm still missing?
Thanks,
Alessandro
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Misak, I do not think we will be supporting any in the near future. Enabling gfapi means that access mechanism of drive changes and i think we will need to stop the vms. Thanks kasturi On Wed, Nov 15, 2017 at 12:27 PM, Misak Khachatryan <kmisak@gmail.com> wrote:
Hi,
will it be a more clean approach? I can't tolerate full stop of all VMs just to enable it, seems too disastrous for real production environment. Will it be some migration mechanisms in future?
Best regards, Misak Khachatryan
You do need to stop the VMs and restart them, not just issue a reboot. I havn’t tried under 4.2 yet, but it works in 4.1.6 that way for me.
________________________________ From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 Date: November 9, 2017 at 2:35:01 AM CST To: users@ovirt.org
Hi again,
OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine.
When I tried restarting the VMs they are still not using gfapi, so it does not seem to help.
Cheers,
Alessandro
Il 09/11/17 09:12, Alessandro De Salvo ha scritto:
Hi, where should I enable gfapi via the UI? The only command I tried was engine-config -s LibgfApiSupported=true but
On Fri, Nov 10, 2017 at 12:35 AM, Darrell Budic <budic@onholyground.com> wrote: the
result is what is shown in my output below, so it’s set to true for v4.2. Is it enough? 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. Thanks,
Alessandro
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto:
Hi ,
The procedure to enable gfapi is below.
1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms.
Hope you have not missed any !!
Thanks kasturi
On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> wrote:
Hi,
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.
The compatibility flag is correctly showing gfapi should be enabled with 4.2:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2
The data center and cluster have the 4.2 compatibility flags as well.
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.
Any clue of what I'm still missing?
Thanks,
Alessandro
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Wed, Nov 15, 2017 at 8:58 AM Misak Khachatryan <kmisak@gmail.com> wrote:
Hi,
will it be a more clean approach? I can't tolerate full stop of all VMs just to enable it, seems too disastrous for real production environment. Will it be some migration mechanisms in future?
You can enable it per vm, you don't need to stop all of them. But I think we do not support upgrading a machine with running vms, so upgrading requires: 1. migrating vms from the host you want to upgrade 2. upgrading the host 3. stopping the vm you want to upgrade to libgfapi 4. starting this vm on the upgraded host Theoretically qemu could switch from one disk to another, but I'm not sure this is supported when switching to the same disk using different transports. I know it is not supported now to mirror a network drive to another network drive. The old disk is using: <disk device="disk" snapshot="no" type="file"> <source file="/rhev/data-center/mnt/server:_volname/sd_id/images/img_id/vol_id"/> <target bus="virtio" dev="vda"/> <driver cache="none" error_policy="stop" io="threads" name="qemu" type="raw"/> </disk> The new disk should use: <disk device="disk" snapshot="no" type="network"> <source name="volname/sd_id/images/img_id/vol_id" protocol="gluster"> <host name="1.2.3.4" port="0" transport="tcp"/> </source> <driver cache="none" error_policy="stop" io="threads" name="qemu" type="raw"/> </disk> Adding qemu-block mailing list. Nir
Best regards, Misak Khachatryan
You do need to stop the VMs and restart them, not just issue a reboot. I havn’t tried under 4.2 yet, but it works in 4.1.6 that way for me.
________________________________ From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 Date: November 9, 2017 at 2:35:01 AM CST To: users@ovirt.org
Hi again,
OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine.
When I tried restarting the VMs they are still not using gfapi, so it does not seem to help.
Cheers,
Alessandro
Il 09/11/17 09:12, Alessandro De Salvo ha scritto:
Hi, where should I enable gfapi via the UI? The only command I tried was engine-config -s LibgfApiSupported=true but
On Fri, Nov 10, 2017 at 12:35 AM, Darrell Budic <budic@onholyground.com> wrote: the
result is what is shown in my output below, so it’s set to true for v4.2. Is it enough? 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. Thanks,
Alessandro
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto:
Hi ,
The procedure to enable gfapi is below.
1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms.
Hope you have not missed any !!
Thanks kasturi
On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> wrote:
Hi,
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.
The compatibility flag is correctly showing gfapi should be enabled with 4.2:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2
The data center and cluster have the 4.2 compatibility flags as well.
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.
Any clue of what I'm still missing?
Thanks,
Alessandro
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, I don't mean on the fly upgrade, just confused that i should stop all VMs at once, as i understood procedure. If it's possible to do per VM, it's perfectly OK for me. Thank you Nir for clarification. Best regards, Misak Khachatryan On Thu, Nov 16, 2017 at 2:05 AM, Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Nov 15, 2017 at 8:58 AM Misak Khachatryan <kmisak@gmail.com> wrote:
Hi,
will it be a more clean approach? I can't tolerate full stop of all VMs just to enable it, seems too disastrous for real production environment. Will it be some migration mechanisms in future?
You can enable it per vm, you don't need to stop all of them. But I think we do not support upgrading a machine with running vms, so upgrading requires:
1. migrating vms from the host you want to upgrade 2. upgrading the host 3. stopping the vm you want to upgrade to libgfapi 4. starting this vm on the upgraded host
Theoretically qemu could switch from one disk to another, but I'm not sure this is supported when switching to the same disk using different transports. I know it is not supported now to mirror a network drive to another network drive.
The old disk is using:
<disk device="disk" snapshot="no" type="file"> <source file="/rhev/data-center/mnt/server:_volname/sd_id/images/img_id/vol_id"/> <target bus="virtio" dev="vda"/> <driver cache="none" error_policy="stop" io="threads" name="qemu" type="raw"/> </disk>
The new disk should use:
<disk device="disk" snapshot="no" type="network"> <source name="volname/sd_id/images/img_id/vol_id" protocol="gluster"> <host name="1.2.3.4" port="0" transport="tcp"/> </source> <driver cache="none" error_policy="stop" io="threads" name="qemu" type="raw"/> </disk>
Adding qemu-block mailing list.
Nir
Best regards, Misak Khachatryan
On Fri, Nov 10, 2017 at 12:35 AM, Darrell Budic <budic@onholyground.com> wrote:
You do need to stop the VMs and restart them, not just issue a reboot. I havn’t tried under 4.2 yet, but it works in 4.1.6 that way for me.
________________________________ From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 Date: November 9, 2017 at 2:35:01 AM CST To: users@ovirt.org
Hi again,
OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine.
When I tried restarting the VMs they are still not using gfapi, so it does not seem to help.
Cheers,
Alessandro
Il 09/11/17 09:12, Alessandro De Salvo ha scritto:
Hi, where should I enable gfapi via the UI? The only command I tried was 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? 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. Thanks,
Alessandro
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto:
Hi ,
The procedure to enable gfapi is below.
1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms.
Hope you have not missed any !!
Thanks kasturi
On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> wrote:
Hi,
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.
The compatibility flag is correctly showing gfapi should be enabled with 4.2:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2
The data center and cluster have the 4.2 compatibility flags as well.
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.
Any clue of what I'm still missing?
Thanks,
Alessandro
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Am 15.11.2017 um 23:05 hat Nir Soffer geschrieben:
On Wed, Nov 15, 2017 at 8:58 AM Misak Khachatryan <kmisak@gmail.com> wrote:
Hi,
will it be a more clean approach? I can't tolerate full stop of all VMs just to enable it, seems too disastrous for real production environment. Will it be some migration mechanisms in future?
You can enable it per vm, you don't need to stop all of them. But I think we do not support upgrading a machine with running vms, so upgrading requires:
1. migrating vms from the host you want to upgrade 2. upgrading the host 3. stopping the vm you want to upgrade to libgfapi 4. starting this vm on the upgraded host
Theoretically qemu could switch from one disk to another, but I'm not sure this is supported when switching to the same disk using different transports. I know it is not supported now to mirror a network drive to another network drive.
I don't think this is possible yet, but we're relatively close to actually allowing this. No promises as to when qemu will allow QMP to make arbitrary changes to the block graph, but it is being worked on. Kevin

Is libgfapi supposed to be working in 4.1.7.6? Bryan -----Original Message----- From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> To: users@ovirt.org Date: Thu, 9 Nov 2017 09:35:01 +0100 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 Hi again, OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine. When I tried restarting the VMs they are still not using gfapi, so it does not seem to help. Cheers, Alessandro Il 09/11/17 09:12, Alessandro De Salvo ha scritto: Hi, where should I enable gfapi via the UI? The only command I tried was 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? 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. Thanks, Alessandro Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto: Hi , The procedure to enable gfapi is below. 1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms. Hope you have not missed any !! Thanks kasturi On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> wrote: Hi, I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it. My test setup has an external glusterfs cluster v3.12, not managed by oVirt. The compatibility flag is correctly showing gfapi should be enabled with 4.2: # engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2 The data center and cluster have the 4.2 compatibility flags as well. However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse. Any clue of what I'm still missing? Thanks, Alessandro _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

yes, it does work with 4.1.7.6 version On Tue, Nov 14, 2017 at 4:49 AM, Bryan Sockel <Bryan.Sockel@altn.com> wrote:
Is libgfapi supposed to be working in 4.1.7.6? Bryan
-----Original Message----- From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> To: users@ovirt.org Date: Thu, 9 Nov 2017 09:35:01 +0100 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2
Hi again, OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine. When I tried restarting the VMs they are still not using gfapi, so it does not seem to help. Cheers,
Alessandro
Il 09/11/17 09:12, Alessandro De Salvo ha scritto:
Hi, where should I enable gfapi via the UI? The only command I tried was 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? 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. Thanks,
Alessandro
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto:
Hi ,
The procedure to enable gfapi is below.
1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms.
Hope you have not missed any !!
Thanks kasturi
On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo < Alessandro.DeSalvo@roma1.infn.it> wrote:
Hi,
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.
The compatibility flag is correctly showing gfapi should be enabled with 4.2:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2
The data center and cluster have the 4.2 compatibility flags as well.
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.
Any clue of what I'm still missing?
Thanks,
Alessandro
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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: # engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: true version: 4.1 restarted the engine, shutdown the vm completely and started it back up a short time later. I am using this command to check: ps ax | grep qemu | grep 'file=gluster\|file=/rhev' Output is file=gluster://10.20.102.181/gl-vm12/.... Thanks Bryan -----Original Message----- From: Kasturi Narra <knarra@redhat.com> To: Bryan Sockel <Bryan.Sockel@altn.com> Cc: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it>, users <users@ovirt.org> Date: Tue, 14 Nov 2017 12:56:49 +0530 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 yes, it does work with 4.1.7.6 version On Tue, Nov 14, 2017 at 4:49 AM, Bryan Sockel <Bryan.Sockel@altn.com> wrote: Is libgfapi supposed to be working in 4.1.7.6? Bryan -----Original Message----- From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> To: users@ovirt.org Date: Thu, 9 Nov 2017 09:35:01 +0100 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 Hi again, OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine. When I tried restarting the VMs they are still not using gfapi, so it does not seem to help. Cheers, Alessandro Il 09/11/17 09:12, Alessandro De Salvo ha scritto: Hi, where should I enable gfapi via the UI? The only command I tried was 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? 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. Thanks, Alessandro Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto: Hi , The procedure to enable gfapi is below. 1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms. Hope you have not missed any !! Thanks kasturi On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> wrote: Hi, I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it. My test setup has an external glusterfs cluster v3.12, not managed by oVirt. The compatibility flag is correctly showing gfapi should be enabled with 4.2: # engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2 The data center and cluster have the 4.2 compatibility flags as well. However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse. Any clue of what I'm still missing? Thanks, Alessandro _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Bryan, In your output if you see the -drive file=gluster://<ip>/<vol_name> this means that vm disk drives are being accessed using libgfapi. If it is fuse then you would have seen something like "file=/rhev/data-center/59f2df7e-0388-00ea-02c2-00000000017b/67d7d3cc-df3f-4d07-b6f3-944982c5677c/images/8e6f96d3-2ed4-4c56-87d1-3a994284e683/9bf5a54e-d72d-4b1f-8ab1-0a84eb987fdd" Thanks kasturi On Tue, Nov 14, 2017 at 8:37 PM, Bryan Sockel <Bryan.Sockel@altn.com> wrote:
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:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: true version: 4.1
restarted the engine, shutdown the vm completely and started it back up a short time later.
I am using this command to check: ps ax | grep qemu | grep 'file=gluster\|file=/rhev'
Output is file=gluster://10.20.102.181/gl-vm12/....
Thanks Bryan
-----Original Message----- From: Kasturi Narra <knarra@redhat.com> To: Bryan Sockel <Bryan.Sockel@altn.com> Cc: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it>, users < users@ovirt.org> Date: Tue, 14 Nov 2017 12:56:49 +0530 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2
yes, it does work with 4.1.7.6 version
On Tue, Nov 14, 2017 at 4:49 AM, Bryan Sockel <Bryan.Sockel@altn.com> wrote:
Is libgfapi supposed to be working in 4.1.7.6? Bryan
-----Original Message----- From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> To: users@ovirt.org Date: Thu, 9 Nov 2017 09:35:01 +0100 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2
Hi again, OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine. When I tried restarting the VMs they are still not using gfapi, so it does not seem to help. Cheers,
Alessandro
Il 09/11/17 09:12, Alessandro De Salvo ha scritto:
Hi, where should I enable gfapi via the UI? The only command I tried was 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? 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. Thanks,
Alessandro
Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto:
Hi ,
The procedure to enable gfapi is below.
1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms.
Hope you have not missed any !!
Thanks kasturi
On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo < Alessandro.DeSalvo@roma1.infn.it> wrote:
Hi,
I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it.
My test setup has an external glusterfs cluster v3.12, not managed by oVirt.
The compatibility flag is correctly showing gfapi should be enabled with 4.2:
# engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2
The data center and cluster have the 4.2 compatibility flags as well.
However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse.
Any clue of what I'm still missing?
Thanks,
Alessandro
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Ok Thanks, for some reason i was thinking it was the other way around. Bryan Sockel -----Original Message----- From: Kasturi Narra <knarra@redhat.com> To: Bryan Sockel <Bryan.Sockel@altn.com> Cc: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it>, users <users@ovirt.org> Date: Wed, 15 Nov 2017 11:48:31 +0530 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 Hi Bryan, In your output if you see the -drive file=gluster://<ip>/<vol_name> this means that vm disk drives are being accessed using libgfapi. If it is fuse then you would have seen something like "file=/rhev/data-center/59f2df7e-0388-00ea-02c2-00000000017b/67d7d3cc-df3f-4d07-b6f3-944982c5677c/images/8e6f96d3-2ed4-4c56-87d1-3a994284e683/9bf5a54e-d72d-4b1f-8ab1-0a84eb987fdd" Thanks kasturi On Tue, Nov 14, 2017 at 8:37 PM, Bryan Sockel <Bryan.Sockel@altn.com> wrote: 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: # engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: true version: 4.1 restarted the engine, shutdown the vm completely and started it back up a short time later. I am using this command to check: ps ax | grep qemu | grep 'file=gluster\|file=/rhev' Output is file=gluster://10.20.102.181/gl-vm12/.... Thanks Bryan -----Original Message----- From: Kasturi Narra <knarra@redhat.com> To: Bryan Sockel <Bryan.Sockel@altn.com> Cc: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it>, users <users@ovirt.org> Date: Tue, 14 Nov 2017 12:56:49 +0530 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 yes, it does work with 4.1.7.6 version On Tue, Nov 14, 2017 at 4:49 AM, Bryan Sockel <Bryan.Sockel@altn.com> wrote: Is libgfapi supposed to be working in 4.1.7.6? Bryan -----Original Message----- From: Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> To: users@ovirt.org Date: Thu, 9 Nov 2017 09:35:01 +0100 Subject: Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2 Hi again, OK, tried to stop all the vms, except the engine, set engine-config -s LibgfApiSupported=true (for 4.2 only) and restarted the engine. When I tried restarting the VMs they are still not using gfapi, so it does not seem to help. Cheers, Alessandro Il 09/11/17 09:12, Alessandro De Salvo ha scritto: Hi, where should I enable gfapi via the UI? The only command I tried was 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? 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. Thanks, Alessandro Il giorno 09 nov 2017, alle ore 07:23, Kasturi Narra <knarra@redhat.com> ha scritto: Hi , The procedure to enable gfapi is below. 1) stop all the vms running 2) Enable gfapi via UI or using engine-config command 3) Restart ovirt-engine service 4) start the vms. Hope you have not missed any !! Thanks kasturi On Wed, Nov 8, 2017 at 11:58 PM, Alessandro De Salvo <Alessandro.DeSalvo@roma1.infn.it> wrote: Hi, I'm using the latest 4.2 beta release and want to try the gfapi access, but I'm currently failing to use it. My test setup has an external glusterfs cluster v3.12, not managed by oVirt. The compatibility flag is correctly showing gfapi should be enabled with 4.2: # engine-config -g LibgfApiSupported LibgfApiSupported: false version: 3.6 LibgfApiSupported: false version: 4.0 LibgfApiSupported: false version: 4.1 LibgfApiSupported: true version: 4.2 The data center and cluster have the 4.2 compatibility flags as well. However, when starting a VM with a disk on gluster I can still see the disk is mounted via fuse. Any clue of what I'm still missing? Thanks, Alessandro _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (7)
-
Alessandro De Salvo
-
Bryan Sockel
-
Darrell Budic
-
Kasturi Narra
-
Kevin Wolf
-
Misak Khachatryan
-
Nir Soffer