Re: [Gluster-devel] NFS Ganesha fails to export a volume

2020-11-16 Thread Strahil Nikolov
I was thinking about an automatic way for testing ...

I will use my notes to rebuild a fresh cluster on EL8 and I will give feedback 
if the patch is fixing it .


Thanks all for the assitance.

Best Regards,
Strahil Nikolov






В понеделник, 16 ноември 2020 г., 13:15:54 Гринуич+2, Ravishankar N 
 написа: 






I am surprised too that it wasn't caught earlier. 


Steps:

1. Clone the gluster repo

2. Compile  the source 
https://docs.gluster.org/en/latest/Developer-guide/Building-GlusterFS/

3. Make the changes (in a different branch if you prefer), compile again and 
install

4.  Test it out:

[root@linuxpad glusterfs]#  gluster v create testvol  
127.0.0.2:/home/ravi/bricks/brick{1..2} force
volume create: testvol: success: please start the volume to access data
[root@linuxpad glusterfs]#
[root@linuxpad glusterfs]# gluster v start testvol
volume start: testvol: success
[root@linuxpad glusterfs]#
[root@linuxpad glusterfs]# gluster v set testvol ganesha.enable on
volume set: failed: The option nfs-ganesha should be enabled before setting 
ganesha.enable.
[root@linuxpad glusterfs]# 
  

I just tried the change and it looks like some new error shows up. Not too 
familiar with these settings; I will need to debug further.

Thanks,

Ravi


On 16/11/20 4:05 pm, Strahil Nikolov wrote:


>  I can try to help with the testing (I'm quite new to that).
> Can someone share documentation of that process ?
> 
> yet we have another problem -> ganesha is deployed with 
> ocf:heartbeat:portblock which supports only IPTABLES, while EL8 uses NFTABLES 
> ...
> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
> 
> В понеделник, 16 ноември 2020 г., 10:47:43 Гринуич+2, Yaniv Kaul 
>  написа: 
> 
> 
> 
> 
> 
> 
> 
> On Mon, Nov 16, 2020 at 10:26 AM Ravishankar N  wrote:
> 
>>  On 15/11/20 8:24 pm, Strahil Nikolov wrote:
>> 
>>>  Hello All,
>>> 
>>> did anyone get a chance to look at 
>>> https://github.com/gluster/glusterfs/issues/1778 ?
>>> 
>> A look at 
>> https://review.gluster.org/#/c/glusterfs/+/23648/4/xlators/mgmt/glusterd/src/glusterd-op-sm.c@1117
>>  
>> seems to indicate this could be due to a typo error. Do you have a 
>> source install where you can apply this simple diff and see if it fixes 
>> the issue?
>> 
> I think you are right - I seem to have introduced it as part of 
> https://github.com/gluster/glusterfs/commit/e081ac683b6a5bda54891318fa1e3ffac981e553
>  - my bad.
> 
> However, it was merged ~1 year ago, and no one has complained thus far... :-/
> 1. Is no one using NFS Ganesha? 
> 2. We are lacking tests for NFS Ganesha - code coverage indicates this path 
> is not covered.
> 
> Y.
> 
> 
>>
>> diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c 
>> b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
>> index 558f04fb2..d7bf96adf 100644
>> --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
>> +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
>> @@ -1177,7 +1177,7 @@ glusterd_op_stage_set_volume(dict_t *dict, char 
>> **op_errstr)
>>   }
>>   } else if (len_strcmp(key, keylen, "ganesha.enable")) {
>>   key_matched = _gf_true;
>> -    if (!strcmp(value, "off") == 0) {
>> +    if (strcmp(value, "off") == 0) {
>>   ret = ganesha_manage_export(dict, "off", _gf_true, 
>> op_errstr);
>>   if (ret)
>>   goto out;
>> 
>> Thanks,
>> 
>> Ravi
>> 
>>>  It's really strange that NFS Ganesha has ever passed the tests.
>>> How do we test NFS Ganesha exporting ?
>>> 
>>> Best Regards,
>>> Strahil Nikolov
>>> ___
>>> 
>>> Community Meeting Calendar:
>>> 
>>> Schedule -
>>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>>> Bridge: https://bluejeans.com/441850968
>>> 
>>> 
>>> 
>>> 
>>> Gluster-devel mailing list
>>> Gluster-devel@gluster.org
>>> https://lists.gluster.org/mailman/listinfo/gluster-devel
>>> 
>> 
>>>  
>> ___
>> 
>> Community Meeting Calendar:
>> 
>> Schedule -
>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>> Bridge: https://bluejeans.com/441850968
>> 
>> 
>> 
>> 
>> Gluster-devel mailing list
>> Gluster-devel@gluster.org
>> https://lists.gluster.org/mailman/listinfo/gluster-devel
>> 
>> 
>> 
> 

___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



[Gluster-devel] Updated invitation: Gluster Community Meeting @ Monthly from 2:30pm to 3:30pm on the second Tuesday (IST) (gluster-devel@gluster.org)

2020-11-16 Thread sajmoham
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Kolkata
X-LIC-LOCATION:Asia/Kolkata
BEGIN:STANDARD
TZOFFSETFROM:+0530
TZOFFSETTO:+0530
TZNAME:IST
DTSTART:19700101T00
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Asia/Kolkata:20201208T143000
DTEND;TZID=Asia/Kolkata:20201208T153000
RRULE:FREQ=MONTHLY;BYDAY=2TU
DTSTAMP:20201116T150539Z
ORGANIZER;CN=nla...@redhat.com:mailto:nla...@redhat.com
UID:5kb7snefork9fbpns4iq3r2vsn_r20201208t090...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=pierre-marie.jan...@agoda.com;X-NUM-GUESTS=0:mailto:pierre-marie.janvre
 @agoda.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sajmo...@redhat.com;X-NUM-GUESTS=0;X-RESPONSE-COMMENT="UPDATED THE GOOG
 LE MEET LINK -  meet.google.com/cpu-eiue-hvk":mailto:sajmo...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=alpha754...@hotmail.com;X-NUM-GUESTS=0:mailto:alpha754...@hotmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sheetal Pamecha;X-NUM-GUESTS=0:mailto:spame...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Shwetha Acharya;X-NUM-GUESTS=0:mailto:sacha...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Deepshikha Khandelwal;X-NUM-GUESTS=0:mailto:dkhan...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sunil Kumar Heggodu Gopala Acharya;X-NUM-GUESTS=0:mailto:sheggodu@redha
 t.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Vinayakswami Hariharmath;X-NUM-GUESTS=0:mailto:vhari...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sunku...@redhat.com;X-NUM-GUESTS=0:mailto:sunku...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Ana Neri;X-NUM-GUESTS=0:mailto:amne...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=ssiva...@redhat.com;X-NUM-GUESTS=0:mailto:ssiva...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Richard Wareing;X-NUM-GUESTS=0:mailto:rware...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=David Hasson;X-NUM-GUESTS=0:mailto:d...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=tshac...@redhat.com;X-NUM-GUESTS=0:mailto:tshac...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Wojciech J. Turek;X-NUM-GUESTS=0:mailto:wj...@cam.ac.uk
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=rkoth...@redhat.com;X-NUM-GUESTS=0:mailto:rkoth...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=Ravishankar N;X-NUM-GUESTS=0:mailto:ravishan...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=bsaso...@redhat.com;X-NUM-GUESTS=0:mailto:bsaso...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=pranith.karamp...@phonepe.com;X-NUM-GUESTS=0:mailto:pranith.karampuri@p
 honepe.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sasun...@redhat.com;X-NUM-GUESTS=0:mailto:sasun...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=rafi.kavun...@iternity.com;X-NUM-GUESTS=0:mailto:rafi.kavungal@iternity
 .com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=gluster-us...@gluster.org;X-NUM-GUESTS=0:mailto:gluster-users@glust
 er.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=gluster-devel@gluster.org;X-NUM-GUESTS=0:mailto:gluster-devel@gluster.o
 rg
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=jocelyn.th...@elca.ch;X-NUM-GUESTS=0:mailto:jocelyn.th...@elca.ch
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=al...@netvel.net;X-NUM-GUESTS=0:mailto:al...@netvel.net
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=David Spisla;X-NUM-GUESTS=0:mailto:david.spi...@iternity.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Gaby Rubin;X-NUM-GUESTS=0:mailto:ga...@final.co.il
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=a...@kadalu.io;X-NUM-GUESTS=0:mailto:a...@kadalu.io
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=pueb...@redhat.com;X-NUM-GUESTS=0:mailto:pueb...@redhat.com
X-MICROSOFT-CDO-OWNERAPPTID:415945671
CREATED:20200922T143255Z
DESCRIPTION:UPDATED THE GOOGLE MEET LINK - \; \;meet.google.com/cpu-eiue-
 hvkSchedule -Eve

[Gluster-devel] Updated invitation: Gluster Community Meeting @ Monthly from 2:30pm to 3:30pm on the second Tuesday from Tue Nov 10 to Mon Dec 7 (IST) (gluster-devel@gluster.org)

2020-11-16 Thread sajmoham
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Kolkata
X-LIC-LOCATION:Asia/Kolkata
BEGIN:STANDARD
TZOFFSETFROM:+0530
TZOFFSETTO:+0530
TZNAME:IST
DTSTART:19700101T00
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Asia/Kolkata:20201110T143000
DTEND;TZID=Asia/Kolkata:20201110T153000
RRULE:FREQ=MONTHLY;UNTIL=20201207T182959Z;BYDAY=2TU
DTSTAMP:20201116T150538Z
ORGANIZER;CN=nla...@redhat.com:mailto:nla...@redhat.com
UID:5kb7snefork9fbpns4iq3r2vsn_r20201110t090...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=pierre-marie.jan...@agoda.com;X-NUM-GUESTS=0:mailto:pierre-marie.janvre
 @agoda.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sajmo...@redhat.com;X-NUM-GUESTS=0;X-RESPONSE-COMMENT="UPDATED THE GOOG
 LE MEET LINK -  meet.google.com/cpu-eiue-hvk":mailto:sajmo...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=alpha754...@hotmail.com;X-NUM-GUESTS=0:mailto:alpha754...@hotmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sheetal Pamecha;X-NUM-GUESTS=0:mailto:spame...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Shwetha Acharya;X-NUM-GUESTS=0:mailto:sacha...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Deepshikha Khandelwal;X-NUM-GUESTS=0:mailto:dkhan...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sunil Kumar Heggodu Gopala Acharya;X-NUM-GUESTS=0:mailto:sheggodu@redha
 t.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Vinayakswami Hariharmath;X-NUM-GUESTS=0:mailto:vhari...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sunku...@redhat.com;X-NUM-GUESTS=0:mailto:sunku...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Ana Neri;X-NUM-GUESTS=0:mailto:amne...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=ssiva...@redhat.com;X-NUM-GUESTS=0:mailto:ssiva...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Richard Wareing;X-NUM-GUESTS=0:mailto:rware...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=David Hasson;X-NUM-GUESTS=0:mailto:d...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=tshac...@redhat.com;X-NUM-GUESTS=0:mailto:tshac...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Wojciech J. Turek;X-NUM-GUESTS=0:mailto:wj...@cam.ac.uk
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=rkoth...@redhat.com;X-NUM-GUESTS=0:mailto:rkoth...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=Ravishankar N;X-NUM-GUESTS=0:mailto:ravishan...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=bsaso...@redhat.com;X-NUM-GUESTS=0:mailto:bsaso...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=pranith.karamp...@phonepe.com;X-NUM-GUESTS=0:mailto:pranith.karampuri@p
 honepe.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sasun...@redhat.com;X-NUM-GUESTS=0:mailto:sasun...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=a...@kadalu.io;X-NUM-GUESTS=0:mailto:a...@kadalu.io
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=rafi.kavun...@iternity.com;X-NUM-GUESTS=0:mailto:rafi.kavungal@iternity
 .com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=gluster-us...@gluster.org;X-NUM-GUESTS=0:mailto:gluster-users@glust
 er.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=gluster-devel@gluster.org;X-NUM-GUESTS=0:mailto:gluster-devel@gluster.o
 rg
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=jocelyn.th...@elca.ch;X-NUM-GUESTS=0:mailto:jocelyn.th...@elca.ch
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=al...@netvel.net;X-NUM-GUESTS=0:mailto:al...@netvel.net
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=David Spisla;X-NUM-GUESTS=0:mailto:david.spi...@iternity.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Gaby Rubin;X-NUM-GUESTS=0:mailto:ga...@final.co.il
X-MICROSOFT-CDO-OWNERAPPTID:2033965388
CREATED:20200922T143255Z
DESCRIPTION:UPDATED THE GOOGLE MEET LINK - \; \;meet.google.com/cpu-eiue-
 hvkSchedule -Every 2nd and 4th Tuesday at 14:30 IST / 09:00
  UTCBridge: \; \;https://meet.google.com/cpu-e
 iue-hvk?hs=122&authuser=0">m

[Gluster-devel] Updated invitation: Gluster Community Meeting @ Monthly from 2:30pm to 3:30pm on the fourth Tuesday (IST) (gluster-devel@gluster.org)

2020-11-16 Thread sajmoham
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Kolkata
X-LIC-LOCATION:Asia/Kolkata
BEGIN:STANDARD
TZOFFSETFROM:+0530
TZOFFSETTO:+0530
TZNAME:IST
DTSTART:19700101T00
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Asia/Kolkata:20201027T143000
DTEND;TZID=Asia/Kolkata:20201027T153000
RRULE:FREQ=MONTHLY;UNTIL=20201123T182959Z;BYDAY=4TU
DTSTAMP:20201116T150455Z
ORGANIZER;CN=sajmo...@redhat.com:mailto:sajmo...@redhat.com
UID:044bdru9e1v3uah2jln7j5r...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=pierre-marie.jan...@agoda.com;X-NUM-GUESTS=0:mailto:pierre-marie.janvre
 @agoda.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sajmo...@redhat.com;X-NUM-GUESTS=0;X-RESPONSE-COMMENT="UPDATED THE BRID
 GE TO GOOGLE MEET LINK - meet.google.com/cpu-eiue-hvk\n":mailto:sajmoham@re
 dhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=rafi.kavun...@iternity.com;X-NUM-GUESTS=0:mailto:rafi.kavungal@iternity
 .com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=alpha754...@hotmail.com;X-NUM-GUESTS=0:mailto:alpha754...@hotmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sheetal Pamecha;X-NUM-GUESTS=0:mailto:spame...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=gluster-us...@gluster.org;X-NUM-GUESTS=0:mailto:gluster-users@glust
 er.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shwetha Acharya;X-NUM-GUESTS=0:mailto:sacha...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=gluster-devel@gluster.org;X-NUM-GUESTS=0:mailto:gluster-devel@gluster.o
 rg
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=jocelyn.th...@elca.ch;X-NUM-GUESTS=0:mailto:jocelyn.th...@elca.ch
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=al...@netvel.net;X-NUM-GUESTS=0:mailto:al...@netvel.net
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Deepshikha Khandelwal;X-NUM-GUESTS=0:mailto:dkhan...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sunil Kumar Heggodu Gopala Acharya;X-NUM-GUESTS=0:mailto:sheggodu@redha
 t.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Vinayakswami Hariharmath;X-NUM-GUESTS=0:mailto:vhari...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=David Spisla;X-NUM-GUESTS=0:mailto:david.spi...@iternity.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=bsaso...@redhat.com;X-NUM-GUESTS=0:mailto:bsaso...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Ana Neri;X-NUM-GUESTS=0:mailto:amne...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=ssiva...@redhat.com;X-NUM-GUESTS=0:mailto:ssiva...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Gaby Rubin;X-NUM-GUESTS=0:mailto:ga...@final.co.il
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Richard Wareing;X-NUM-GUESTS=0:mailto:rware...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=David Hasson;X-NUM-GUESTS=0:mailto:d...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=ch...@redhat.com;X-NUM-GUESTS=0:mailto:ch...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=Ravishankar N;X-NUM-GUESTS=0:mailto:ravishan...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=a...@kadalu.io;X-NUM-GUESTS=0:mailto:a...@kadalu.io
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=nla...@redhat.com;X-NUM-GUESTS=0:mailto:nla...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sankarshan.mukhopadh...@gmail.com;X-NUM-GUESTS=0:mailto:sankarshan.mukh
 opadh...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=rkoth...@redhat.com;X-NUM-GUESTS=0:mailto:rkoth...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=sunku...@redhat.com;X-NUM-GUESTS=0:mailto:sunku...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=pranith.karamp...@phonepe.com;X-NUM-GUESTS=0:mailto:pranith.karampuri@p
 honepe.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Wojciech J. Turek;X-NUM-GUESTS=0:mailto:wj...@cam.ac.uk
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sasun...@redhat.com;X-NUM-GUEST

[Gluster-devel] Updated invitation: Gluster Community Meeting @ Monthly from 2:30pm to 3:30pm on the fourth Tuesday (IST) (gluster-devel@gluster.org)

2020-11-16 Thread sajmoham
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Kolkata
X-LIC-LOCATION:Asia/Kolkata
BEGIN:STANDARD
TZOFFSETFROM:+0530
TZOFFSETTO:+0530
TZNAME:IST
DTSTART:19700101T00
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Asia/Kolkata:20201124T143000
DTEND;TZID=Asia/Kolkata:20201124T153000
RRULE:FREQ=MONTHLY;BYDAY=4TU
DTSTAMP:20201116T150456Z
ORGANIZER;CN=sajmo...@redhat.com:mailto:sajmo...@redhat.com
UID:044bdru9e1v3uah2jln7j5rebc_r20201124t090...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=pierre-marie.jan...@agoda.com;X-NUM-GUESTS=0:mailto:pierre-marie.janvre
 @agoda.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sajmo...@redhat.com;X-NUM-GUESTS=0;X-RESPONSE-COMMENT="UPDATED THE BRID
 GE TO GOOGLE MEET LINK - meet.google.com/cpu-eiue-hvk\n":mailto:sajmoham@re
 dhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=rafi.kavun...@iternity.com;X-NUM-GUESTS=0:mailto:rafi.kavungal@iternity
 .com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=alpha754...@hotmail.com;X-NUM-GUESTS=0:mailto:alpha754...@hotmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sheetal Pamecha;X-NUM-GUESTS=0:mailto:spame...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=gluster-us...@gluster.org;X-NUM-GUESTS=0:mailto:gluster-users@glust
 er.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shwetha Acharya;X-NUM-GUESTS=0:mailto:sacha...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=gluster-devel@gluster.org;X-NUM-GUESTS=0:mailto:gluster-devel@gluster.o
 rg
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=jocelyn.th...@elca.ch;X-NUM-GUESTS=0:mailto:jocelyn.th...@elca.ch
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=al...@netvel.net;X-NUM-GUESTS=0:mailto:al...@netvel.net
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Deepshikha Khandelwal;X-NUM-GUESTS=0:mailto:dkhan...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sunil Kumar Heggodu Gopala Acharya;X-NUM-GUESTS=0:mailto:sheggodu@redha
 t.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Vinayakswami Hariharmath;X-NUM-GUESTS=0:mailto:vhari...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=David Spisla;X-NUM-GUESTS=0:mailto:david.spi...@iternity.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=bsaso...@redhat.com;X-NUM-GUESTS=0:mailto:bsaso...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Ana Neri;X-NUM-GUESTS=0:mailto:amne...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=ssiva...@redhat.com;X-NUM-GUESTS=0:mailto:ssiva...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Gaby Rubin;X-NUM-GUESTS=0:mailto:ga...@final.co.il
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Richard Wareing;X-NUM-GUESTS=0:mailto:rware...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=David Hasson;X-NUM-GUESTS=0:mailto:d...@fb.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=ch...@redhat.com;X-NUM-GUESTS=0:mailto:ch...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=Ravishankar N;X-NUM-GUESTS=0:mailto:ravishan...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=a...@kadalu.io;X-NUM-GUESTS=0:mailto:a...@kadalu.io
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=nla...@redhat.com;X-NUM-GUESTS=0:mailto:nla...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sankarshan.mukhopadh...@gmail.com;X-NUM-GUESTS=0:mailto:sankarshan.mukh
 opadh...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=rkoth...@redhat.com;X-NUM-GUESTS=0:mailto:rkoth...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=sunku...@redhat.com;X-NUM-GUESTS=0:mailto:sunku...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=pranith.karamp...@phonepe.com;X-NUM-GUESTS=0:mailto:pranith.karampuri@p
 honepe.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN=Wojciech J. Turek;X-NUM-GUESTS=0:mailto:wj...@cam.ac.uk
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sasun...@redhat.com;X-NUM-GUESTS=0:ma

Re: [Gluster-devel] [Gluster-users] Docs on gluster parameters

2020-11-16 Thread Strahil Nikolov
Hi Ravi,

I can propose a pull request if someone gives me a general idea of each setting.
Do we have comments in the source code that can be used as a description ?

Best Regards,
Strahil Nikolov






В понеделник, 16 ноември 2020 г., 10:36:09 Гринуич+2, Ravishankar N 
 написа: 









On 14/11/20 3:23 am, Mahdi Adnan wrote:


>  
Hi, 



 Differently, the Gluster docs missing quite a bit regarding the available 
options that can be used in the volumes.

Not only that, there are some options that might corrupt data and do not have 
proper documentation, for example, disable Sharding will lead to data 
corruption and I think it does not give any warning? "maybe I'm wrong regarding 
the warning tho" and I can not find any details about it in the official 
Gluster docs. The same goes for multiple clients accessing a volume with 
Sharding enabled.

also, in some cases, write-behind and stat-prefetch can lead to data 
inconsistency if multiple clients accessing the same data.

I think having solid "Official" Gluster docs with all of these details is 
essential to have stable Gluster deployments.




On Thu, Nov 12, 2020 at 7:34 PM Eli V  wrote:


> I think docs.gluster.org needs a section on the available parameters,
> especially considering how important some of them can be. For example
> a google for performance.parallel-readdir, or
> features.cache-invalidation only seems to turn up some hits in the
> release notes on docs.gluster.org. I woudn't expect a new user to have
> to go read the release notes for all previous releases to understand
> the importance of these parameters, or what paremeters even exist.
> 





https://docs.gluster.org/en/latest/  can be updated by sending pull requests to 
https://github.com/gluster/glusterdocs. It would be great if you can send some 
patches regarding the changes you would like to see. It doesn't have to be 
perfect. I can help in getting them reviewed and merged.
Thanks,
Ravi





>  
>  
>>  
>> 
>> 
>> 
>> Community Meeting Calendar:
>> 
>> Schedule -
>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>> Bridge: https://meet.google.com/cpu-eiue-hvk
>> Gluster-users mailing list
>> gluster-us...@gluster.org
>> https://lists.gluster.org/mailman/listinfo/gluster-users
>> 
> 
> 
> 
> 
> 
> -- 
> 
>  
> Respectfully 
> Mahdi
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Community Meeting Calendar:
> 
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-users mailing list
> gluster-us...@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
> 





Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
gluster-us...@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users
___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



Re: [Gluster-devel] NFS Ganesha fails to export a volume

2020-11-16 Thread Strahil Nikolov
I can try to help with the testing (I'm quite new to that).
Can someone share documentation of that process ?

yet we have another problem -> ganesha is deployed with ocf:heartbeat:portblock 
which supports only IPTABLES, while EL8 uses NFTABLES ...

Best Regards,
Strahil Nikolov






В понеделник, 16 ноември 2020 г., 10:47:43 Гринуич+2, Yaniv Kaul 
 написа: 







On Mon, Nov 16, 2020 at 10:26 AM Ravishankar N  wrote:
> 
> On 15/11/20 8:24 pm, Strahil Nikolov wrote:
>> Hello All,
>>
>> did anyone get a chance to look at 
>> https://github.com/gluster/glusterfs/issues/1778 ?
> 
> A look at 
> https://review.gluster.org/#/c/glusterfs/+/23648/4/xlators/mgmt/glusterd/src/glusterd-op-sm.c@1117
>  
> seems to indicate this could be due to a typo error. Do you have a 
> source install where you can apply this simple diff and see if it fixes 
> the issue?

I think you are right - I seem to have introduced it as part of 
https://github.com/gluster/glusterfs/commit/e081ac683b6a5bda54891318fa1e3ffac981e553
 - my bad.

However, it was merged ~1 year ago, and no one has complained thus far... :-/
1. Is no one using NFS Ganesha? 
2. We are lacking tests for NFS Ganesha - code coverage indicates this path is 
not covered.

Y.

>  
> diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c 
> b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
> index 558f04fb2..d7bf96adf 100644
> --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
> +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
> @@ -1177,7 +1177,7 @@ glusterd_op_stage_set_volume(dict_t *dict, char 
> **op_errstr)
>   }
>   } else if (len_strcmp(key, keylen, "ganesha.enable")) {
>   key_matched = _gf_true;
> -    if (!strcmp(value, "off") == 0) {
> +    if (strcmp(value, "off") == 0) {
>   ret = ganesha_manage_export(dict, "off", _gf_true, 
> op_errstr);
>   if (ret)
>   goto out;
> 
> Thanks,
> 
> Ravi
>>
>> It's really strange that NFS Ganesha has ever passed the tests.
>> How do we test NFS Ganesha exporting ?
>>
>> Best Regards,
>> Strahil Nikolov
>> ___
>>
>> Community Meeting Calendar:
>>
>> Schedule -
>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>> Bridge: https://bluejeans.com/441850968
>>
>>
>>
>>
>> Gluster-devel mailing list
>> Gluster-devel@gluster.org
>> https://lists.gluster.org/mailman/listinfo/gluster-devel
> 
>>
> 
> ___
> 
> Community Meeting Calendar:
> 
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://bluejeans.com/441850968
> 
> 
> 
> 
> Gluster-devel mailing list
> Gluster-devel@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-devel
> 
> 
___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



Re: [Gluster-devel] NFS Ganesha fails to export a volume

2020-11-16 Thread sankarshan
On Mon, 16 Nov 2020 at 16:45, Ravishankar N  wrote:

> I am surprised too that it wasn't caught earlier.
>

There have been sporadic requests around maintaining v3 but of late I
haven't heard a lot around NFS-Ganesha. I am not surprised to learn that
there is tests lacking - this is unlikely to be one-off.

-- 
sankarshan mukhopadhyay

___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



Re: [Gluster-devel] NFS Ganesha fails to export a volume

2020-11-16 Thread Ravishankar N

I am surprised too that it wasn't caught earlier.

Steps:

1. Clone the gluster repo

2. Compile  the source 
https://docs.gluster.org/en/latest/Developer-guide/Building-GlusterFS/


3. Make the changes (in a different branch if you prefer), compile again 
and install


4.  Test it out:

[root@linuxpad glusterfs]#  gluster v create testvol 
127.0.0.2:/home/ravi/bricks/brick{1..2} force

volume create: testvol: success: please start the volume to access data
[root@linuxpad glusterfs]#
[root@linuxpad glusterfs]# gluster v start testvol
volume start: testvol: success
[root@linuxpad glusterfs]#
[root@linuxpad glusterfs]# gluster v set testvol ganesha.enable on
volume set: failed: The option nfs-ganesha should be enabled before 
setting ganesha.enable.

[root@linuxpad glusterfs]#

I just tried the change and it looks like some new error shows up. Not 
too familiar with these settings; I will need to debug further.


Thanks,

Ravi

On 16/11/20 4:05 pm, Strahil Nikolov wrote:

I can try to help with the testing (I'm quite new to that).
Can someone share documentation of that process ?

yet we have another problem -> ganesha is deployed with ocf:heartbeat:portblock 
which supports only IPTABLES, while EL8 uses NFTABLES ...

Best Regards,
Strahil Nikolov






В понеделник, 16 ноември 2020 г., 10:47:43 Гринуич+2, Yaniv Kaul 
 написа:







On Mon, Nov 16, 2020 at 10:26 AM Ravishankar N  wrote:

On 15/11/20 8:24 pm, Strahil Nikolov wrote:

Hello All,

did anyone get a chance to look at 
https://github.com/gluster/glusterfs/issues/1778 ?

A look at
https://review.gluster.org/#/c/glusterfs/+/23648/4/xlators/mgmt/glusterd/src/glusterd-op-sm.c@1117
seems to indicate this could be due to a typo error. Do you have a
source install where you can apply this simple diff and see if it fixes
the issue?

I think you are right - I seem to have introduced it as part of 
https://github.com/gluster/glusterfs/commit/e081ac683b6a5bda54891318fa1e3ffac981e553
 - my bad.

However, it was merged ~1 year ago, and no one has complained thus far... :-/
1. Is no one using NFS Ganesha?
2. We are lacking tests for NFS Ganesha - code coverage indicates this path is 
not covered.

Y.

   
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c

b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 558f04fb2..d7bf96adf 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -1177,7 +1177,7 @@ glusterd_op_stage_set_volume(dict_t *dict, char
**op_errstr)
   }
   } else if (len_strcmp(key, keylen, "ganesha.enable")) {
   key_matched = _gf_true;
-    if (!strcmp(value, "off") == 0) {
+    if (strcmp(value, "off") == 0) {
   ret = ganesha_manage_export(dict, "off", _gf_true,
op_errstr);
   if (ret)
   goto out;

Thanks,

Ravi

It's really strange that NFS Ganesha has ever passed the tests.
How do we test NFS Ganesha exporting ?

Best Regards,
Strahil Nikolov
___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel

___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel


___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



Re: [Gluster-devel] [Gluster-users] Docs on gluster parameters

2020-11-16 Thread Ravishankar N

Hi Strahil

On 16/11/20 4:21 pm, Strahil Nikolov wrote:

Hi Ravi,

I can propose a pull request if someone gives me a general idea of each setting.
Do we have comments in the source code that can be used as a description ?


`gluster volume set help`  lists many of the documented options. For the 
others (which  usually are not needed to be tweaked but its there if you 
still want to play with), each translator has a*struct volume_options 
options[]* in the source code (do agit grep "struct volume_options 
options" on the source code) which usually has a ".*description*" filed 
that gives a short description.


HTH,

Ravi



Best Regards,
Strahil Nikolov






В понеделник, 16 ноември 2020 г., 10:36:09 Гринуич+2, Ravishankar N 
 написа:









On 14/11/20 3:23 am, Mahdi Adnan wrote:


   

Hi,



  Differently, the Gluster docs missing quite a bit regarding the available 
options that can be used in the volumes.

Not only that, there are some options that might corrupt data and do not have proper 
documentation, for example, disable Sharding will lead to data corruption and I think it 
does not give any warning? "maybe I'm wrong regarding the warning tho" and I 
can not find any details about it in the official Gluster docs. The same goes for 
multiple clients accessing a volume with Sharding enabled.

also, in some cases, write-behind and stat-prefetch can lead to data 
inconsistency if multiple clients accessing the same data.

I think having solid "Official" Gluster docs with all of these details is 
essential to have stable Gluster deployments.




On Thu, Nov 12, 2020 at 7:34 PM Eli V  wrote:



I think docs.gluster.org needs a section on the available parameters,
especially considering how important some of them can be. For example
a google for performance.parallel-readdir, or
features.cache-invalidation only seems to turn up some hits in the
release notes on docs.gluster.org. I woudn't expect a new user to have
to go read the release notes for all previous releases to understand
the importance of these parameters, or what paremeters even exist.






https://docs.gluster.org/en/latest/  can be updated by sending pull requests to 
https://github.com/gluster/glusterdocs. It would be great if you can send some 
patches regarding the changes you would like to see. It doesn't have to be 
perfect. I can help in getting them reviewed and merged.
Thanks,
Ravi





   
   

   



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
gluster-us...@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users






--

   
Respectfully

Mahdi









Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
gluster-us...@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users






Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
gluster-us...@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users

___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



Re: [Gluster-devel] NFS Ganesha fails to export a volume

2020-11-16 Thread Yaniv Kaul
On Mon, Nov 16, 2020 at 10:26 AM Ravishankar N 
wrote:

>
> On 15/11/20 8:24 pm, Strahil Nikolov wrote:
> > Hello All,
> >
> > did anyone get a chance to look at
> https://github.com/gluster/glusterfs/issues/1778 ?
>
> A look at
>
> https://review.gluster.org/#/c/glusterfs/+/23648/4/xlators/mgmt/glusterd/src/glusterd-op-sm.c@1117
> seems to indicate this could be due to a typo error. Do you have a
> source install where you can apply this simple diff and see if it fixes
> the issue?
>

I think you are right - I seem to have introduced it as part of
https://github.com/gluster/glusterfs/commit/e081ac683b6a5bda54891318fa1e3ffac981e553
- my bad.

However, it was merged ~1 year ago, and no one has complained thus far...
:-/
1. Is no one using NFS Ganesha?
2. We are lacking tests for NFS Ganesha - code coverage indicates this path
is not covered.

Y.


> diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
> b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
> index 558f04fb2..d7bf96adf 100644
> --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
> +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
> @@ -1177,7 +1177,7 @@ glusterd_op_stage_set_volume(dict_t *dict, char
> **op_errstr)
>   }
>   } else if (len_strcmp(key, keylen, "ganesha.enable")) {
>   key_matched = _gf_true;
> -if (!strcmp(value, "off") == 0) {
> +if (strcmp(value, "off") == 0) {
>   ret = ganesha_manage_export(dict, "off", _gf_true,
> op_errstr);
>   if (ret)
>   goto out;
>
> Thanks,
>
> Ravi
> >
> > It's really strange that NFS Ganesha has ever passed the tests.
> > How do we test NFS Ganesha exporting ?
> >
> > Best Regards,
> > Strahil Nikolov
> > ___
> >
> > Community Meeting Calendar:
> >
> > Schedule -
> > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> > Bridge: https://bluejeans.com/441850968
> >
> >
> >
> >
> > Gluster-devel mailing list
> > Gluster-devel@gluster.org
> > https://lists.gluster.org/mailman/listinfo/gluster-devel
> >
>
> ___
>
> Community Meeting Calendar:
>
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://bluejeans.com/441850968
>
>
>
>
> Gluster-devel mailing list
> Gluster-devel@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-devel
>
>
___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



Re: [Gluster-devel] [Gluster-users] Docs on gluster parameters

2020-11-16 Thread Ravishankar N


On 14/11/20 3:23 am, Mahdi Adnan wrote:

Hi,

 Differently, the Gluster docs missing quite a bit regarding the 
available options that can be used in the volumes.
Not only that, there are some options that might corrupt data and do 
not have proper documentation, for example, disable Sharding will lead 
to data corruption and I think it does not give any warning? "maybe 
I'm wrong regarding the warning tho" and I can not find any details 
about it in the official Gluster docs. The same goes for multiple 
clients accessing a volume with Sharding enabled.
also, in some cases, write-behind and stat-prefetch can lead to data 
inconsistency if multiple clients accessing the same data.
I think having solid "Official" Gluster docs with all of these details 
is essential to have stable Gluster deployments.


On Thu, Nov 12, 2020 at 7:34 PM Eli V > wrote:


I think docs.gluster.org  needs a section
on the available parameters,
especially considering how important some of them can be. For example
a google for performance.parallel-readdir, or
features.cache-invalidation only seems to turn up some hits in the
release notes on docs.gluster.org . I
woudn't expect a new user to have
to go read the release notes for all previous releases to understand
the importance of these parameters, or what paremeters even exist.



https://docs.gluster.org/en/latest/  can be updated by sending pull 
requests to https://github.com/gluster/glusterdocs. It would be great if 
you can send some patches regarding the changes you would like to see. 
It doesn't have to be perfect. I can help in getting them reviewed and 
merged.


Thanks,
Ravi







Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk

Gluster-users mailing list
gluster-us...@gluster.org 
https://lists.gluster.org/mailman/listinfo/gluster-users




--
Respectfully
Mahdi





Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
gluster-us...@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users
___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



Re: [Gluster-devel] NFS Ganesha fails to export a volume

2020-11-16 Thread Ravishankar N


On 15/11/20 8:24 pm, Strahil Nikolov wrote:

Hello All,

did anyone get a chance to look at 
https://github.com/gluster/glusterfs/issues/1778 ?


A look at 
https://review.gluster.org/#/c/glusterfs/+/23648/4/xlators/mgmt/glusterd/src/glusterd-op-sm.c@1117 
seems to indicate this could be due to a typo error. Do you have a 
source install where you can apply this simple diff and see if it fixes 
the issue?


diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c 
b/xlators/mgmt/glusterd/src/glusterd-op-sm.c

index 558f04fb2..d7bf96adf 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -1177,7 +1177,7 @@ glusterd_op_stage_set_volume(dict_t *dict, char 
**op_errstr)

 }
 } else if (len_strcmp(key, keylen, "ganesha.enable")) {
 key_matched = _gf_true;
-    if (!strcmp(value, "off") == 0) {
+    if (strcmp(value, "off") == 0) {
 ret = ganesha_manage_export(dict, "off", _gf_true, 
op_errstr);

 if (ret)
 goto out;

Thanks,

Ravi


It's really strange that NFS Ganesha has ever passed the tests.
How do we test NFS Ganesha exporting ?

Best Regards,
Strahil Nikolov
___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel



___

Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968




Gluster-devel mailing list
Gluster-devel@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-devel