Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-15 Thread Misak Khachatryan
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  wrote:
> On Wed, Nov 15, 2017 at 8:58 AM Misak Khachatryan  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:
>
> 
>  file="/rhev/data-center/mnt/server:_volname/sd_id/images/img_id/vol_id"/>
> 
>  name="qemu" type="raw"/>
> 
>
> The new disk should use:
>
> 
>  protocol="gluster">
> 
> 
>  name="qemu" type="raw"/>
> 
>
> Adding qemu-block mailing list.
>
> Nir
>
>>
>>
>> Best regards,
>> Misak Khachatryan
>>
>>
>> On Fri, Nov 10, 2017 at 12:35 AM, Darrell Budic 
>> 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 
>> > 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 
>> > 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
>> >  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
>> >

Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-15 Thread Nir Soffer
On Wed, Nov 15, 2017 at 8:58 AM Misak Khachatryan  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:







The new disk should use:










Adding qemu-block mailing list.

Nir


>
> Best regards,
> Misak Khachatryan
>
>
> On Fri, Nov 10, 2017 at 12:35 AM, Darrell Budic 
> 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 
> > 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 
> 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
> >  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
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-15 Thread Kasturi Narra
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 
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
>
>
> On Fri, Nov 10, 2017 at 12:35 AM, Darrell Budic 
> 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 
> > 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 
> 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
> >  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
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-15 Thread Bryan Sockel
Ok Thanks, for some reason i was thinking it was the other way around.

Bryan Sockel
-Original Message-
From: Kasturi Narra 
To: Bryan Sockel 
Cc: Alessandro De Salvo , users 

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:/// 
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-017b/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  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 
To: Bryan Sockel 
Cc: Alessandro De Salvo , users 

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  wrote:
Is libgfapi supposed to be working in 4.1.7.6?
Bryan 
-Original Message-
From: Alessandro De Salvo 
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  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 
 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


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-14 Thread Misak Khachatryan
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  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 
> 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  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
>  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


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-14 Thread Kasturi Narra
Hi Bryan,

 In your output if you see the -drive file=gluster:///
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-017b/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  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 
> To: Bryan Sockel 
> Cc: Alessandro De Salvo , 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 
> wrote:
>>
>> Is libgfapi supposed to be working in 4.1.7.6?
>> Bryan
>>
>> -----Original Message-----
>> From: Alessandro De Salvo 
>> 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 
>> 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.desa...@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
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-14 Thread Bryan Sockel
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 
To: Bryan Sockel 
Cc: Alessandro De Salvo , users 

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  wrote:
Is libgfapi supposed to be working in 4.1.7.6?
Bryan 
-Original Message-
From: Alessandro De Salvo 
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  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 
 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


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-13 Thread Kasturi Narra
yes, it  does work with 4.1.7.6 version

On Tue, Nov 14, 2017 at 4:49 AM, Bryan Sockel  wrote:

> Is libgfapi supposed to be working in 4.1.7.6?
> Bryan
>
> -Original Message-
> From: Alessandro De Salvo 
> 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 
> 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.desa...@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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-13 Thread Bryan Sockel
Is libgfapi supposed to be working in 4.1.7.6?
Bryan 
-Original Message-
From: Alessandro De Salvo 
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  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 
 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


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-09 Thread Darrell Budic
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 
> 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 > <mailto:kna...@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 
>>> >> <mailto:alessandro.desa...@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 <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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-09 Thread Alessandro De Salvo

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 
mailto:kna...@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 
> 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


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-09 Thread Alessandro De Salvo
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  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 
>>  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


Re: [ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-08 Thread Kasturi Narra
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.desa...@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


[ovirt-users] Enabling libgfapi disk access with oVirt 4.2

2017-11-08 Thread Alessandro De Salvo

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