
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--