<div dir="ltr">Thanks for bringing this to our attention @Strahil<br><br>[1] and [2]  were discretely worked handling different issues at the same span of time. Merging [2] was to be done before [1], which was done otherwise. <br><br>[1] <a href="https://review.gluster.org/#/c/glusterfs/+/23039/">https://review.gluster.org/#/c/glusterfs/+/23039/</a><br>[2] <a href="https://review.gluster.org/#/c/glusterfs/+/22636/">https://review.gluster.org/#/c/glusterfs/+/22636/</a><br><br>Regards,<br>Shwetha</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 18, 2020 at 12:41 PM Ravishankar N &lt;<a href="mailto:ravishankar@redhat.com">ravishankar@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 18/11/20 12:17 pm, Strahil Nikolov wrote:<br>
&gt; Nope, it&#39;s a deeper s**t.<br>
&gt; I had to edit the &quot;.<a href="http://spec.in" rel="noreferrer" target="_blank">spec.in</a>&quot; file so it has Source0 point to local tar.gz.<br>
&gt; The I edit the requires in both &quot;.spec&quot; &amp; &quot;.<a href="http://spec.in" rel="noreferrer" target="_blank">spec.in</a>&quot; and also I had to remove an obsolete stanza in the glusterfs section.<br>
&gt;<br>
&gt; In the end, I got the source - extracted, copied the spec &amp; <a href="http://spec.in" rel="noreferrer" target="_blank">spec.in</a> , and then tar.gz-ed again and put it into the dir.<br>
&gt;<br>
&gt; Only then the rpms were properly built.<br>
&gt;<br>
&gt; The proposed patch is fixing the issue.<br>
Thanks for confirming!<br>
&gt;<br>
&gt; Why do we have line 285 in <a href="https://raw.githubusercontent.com/gluster/glusterfs/devel/glusterfs.spec.in" rel="noreferrer" target="_blank">https://raw.githubusercontent.com/gluster/glusterfs/devel/glusterfs.spec.in</a> ?<br>
&gt;<br>
&gt; I guess I need to open 2 issues for the glusterfs:<br>
&gt; - that obsolete stanza is useless<br>
<br>
Using git blame points me to <br>
<a href="https://github.com/gluster/glusterfs/commit/f9118c2c9389e0793951388c2d69ce0350bb9318" rel="noreferrer" target="_blank">https://github.com/gluster/glusterfs/commit/f9118c2c9389e0793951388c2d69ce0350bb9318</a>. <br>
Adding Shwetha to confirm if the change was intended.<br>
<br>
-Ravi<br>
<br>
&gt;<br>
&gt;<br>
&gt; Best Regards,<br>
&gt; Strahil Nikolov<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; В вторник, 17 ноември 2020 г., 14:16:36 Гринуич+2, Ravishankar N &lt;<a href="mailto:ravishankar@redhat.com" target="_blank">ravishankar@redhat.com</a>&gt; написа:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi Strahil,<br>
&gt;<br>
&gt; I would have imagined editing the &#39;Requires&#39; section in<br>
&gt; <a href="http://glusterfs.spec.in" rel="noreferrer" target="_blank">glusterfs.spec.in</a> would have sufficed. Do you need rpms though? A source<br>
&gt; install is not enough?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Ravi<br>
&gt;<br>
&gt; On 17/11/20 5:32 pm, Strahil Nikolov wrote:<br>
&gt;&gt; Hi Ravi,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Any idea how to make the glusterfs-ganesha.x86_64 require resource-agents &gt;= 4.1.0 (instead of 4.2.0) ?<br>
&gt;&gt; I &#39;ve replaced every occurance I found and still it tries to grab resource-agents 4.2 (which is not available on EL8).<br>
&gt;&gt;<br>
&gt;&gt; Best Regards,<br>
&gt;&gt; Strahil Nikolov<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; В понеделник, 16 ноември 2020 г., 13:15:54 Гринуич+2, Ravishankar N&lt;<a href="mailto:ravishankar@redhat.com" target="_blank">ravishankar@redhat.com</a>&gt;  написа:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I am surprised too that it wasn&#39;t caught earlier.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Steps:<br>
&gt;&gt;<br>
&gt;&gt; 1. Clone the gluster repo<br>
&gt;&gt;<br>
&gt;&gt; 2. Compile  the sourcehttps://<a href="http://docs.gluster.org/en/latest/Developer-guide/Building-GlusterFS/" rel="noreferrer" target="_blank">docs.gluster.org/en/latest/Developer-guide/Building-GlusterFS/</a><br>
&gt;&gt;<br>
&gt;&gt; 3. Make the changes (in a different branch if you prefer), compile again and install<br>
&gt;&gt;<br>
&gt;&gt; 4.  Test it out:<br>
&gt;&gt;<br>
&gt;&gt; [root@linuxpad glusterfs]#  gluster v create testvol  127.0.0.2:/home/ravi/bricks/brick{1..2} force<br>
&gt;&gt; volume create: testvol: success: please start the volume to access data<br>
&gt;&gt; [root@linuxpad glusterfs]#<br>
&gt;&gt; [root@linuxpad glusterfs]# gluster v start testvol<br>
&gt;&gt; volume start: testvol: success<br>
&gt;&gt; [root@linuxpad glusterfs]#<br>
&gt;&gt; [root@linuxpad glusterfs]# gluster v set testvol ganesha.enable on<br>
&gt;&gt; volume set: failed: The option nfs-ganesha should be enabled before setting ganesha.enable.<br>
&gt;&gt; [root@linuxpad glusterfs]#<br>
&gt;&gt;      <br>
&gt;&gt;<br>
&gt;&gt; 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.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; Ravi<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 16/11/20 4:05 pm, Strahil Nikolov wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;      I can try to help with the testing (I&#39;m quite new to that).<br>
&gt;&gt;&gt; Can someone share documentation of that process ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; yet we have another problem -&gt; ganesha is deployed with ocf:heartbeat:portblock which supports only IPTABLES, while EL8 uses NFTABLES ...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Best Regards,<br>
&gt;&gt;&gt; Strahil Nikolov<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; В понеделник, 16 ноември 2020 г., 10:47:43 Гринуич+2, Yaniv Kaul&lt;<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>&gt;  написа:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Mon, Nov 16, 2020 at 10:26 AM Ravishankar N&lt;<a href="mailto:ravishankar@redhat.com" target="_blank">ravishankar@redhat.com</a>&gt;  wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;      On 15/11/20 8:24 pm, Strahil Nikolov wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;      Hello All,<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; did anyone get a chance to look athttps://<a href="http://github.com/gluster/glusterfs/issues/1778" rel="noreferrer" target="_blank">github.com/gluster/glusterfs/issues/1778</a>  ?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; A look at<br>
&gt;&gt;&gt;&gt; <a href="https://review.gluster.org/#/c/glusterfs/+/23648/4/xlators/mgmt/glusterd/src/glusterd-op-sm.c@1117" rel="noreferrer" target="_blank">https://review.gluster.org/#/c/glusterfs/+/23648/4/xlators/mgmt/glusterd/src/glusterd-op-sm.c@1117</a><br>
&gt;&gt;&gt;&gt; seems to indicate this could be due to a typo error. Do you have a<br>
&gt;&gt;&gt;&gt; source install where you can apply this simple diff and see if it fixes<br>
&gt;&gt;&gt;&gt; the issue?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; I think you are right - I seem to have introduced it as part ofhttps://<a href="http://github.com/gluster/glusterfs/commit/e081ac683b6a5bda54891318fa1e3ffac981e553" rel="noreferrer" target="_blank">github.com/gluster/glusterfs/commit/e081ac683b6a5bda54891318fa1e3ffac981e553</a>  - my bad.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; However, it was merged ~1 year ago, and no one has complained thus far... :-/<br>
&gt;&gt;&gt; 1. Is no one using NFS Ganesha?<br>
&gt;&gt;&gt; 2. We are lacking tests for NFS Ganesha - code coverage indicates this path is not covered.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Y.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;        <br>
&gt;&gt;&gt;&gt; diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c<br>
&gt;&gt;&gt;&gt; b/xlators/mgmt/glusterd/src/glusterd-op-sm.c<br>
&gt;&gt;&gt;&gt; index 558f04fb2..d7bf96adf 100644<br>
&gt;&gt;&gt;&gt; --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c<br>
&gt;&gt;&gt;&gt; +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c<br>
&gt;&gt;&gt;&gt; @@ -1177,7 +1177,7 @@ glusterd_op_stage_set_volume(dict_t *dict, char<br>
&gt;&gt;&gt;&gt; **op_errstr)<br>
&gt;&gt;&gt;&gt;                  }<br>
&gt;&gt;&gt;&gt;              } else if (len_strcmp(key, keylen, &quot;ganesha.enable&quot;)) {<br>
&gt;&gt;&gt;&gt;                  key_matched = _gf_true;<br>
&gt;&gt;&gt;&gt; -            if (!strcmp(value, &quot;off&quot;) == 0) {<br>
&gt;&gt;&gt;&gt; +            if (strcmp(value, &quot;off&quot;) == 0) {<br>
&gt;&gt;&gt;&gt;                      ret = ganesha_manage_export(dict, &quot;off&quot;, _gf_true,<br>
&gt;&gt;&gt;&gt; op_errstr);<br>
&gt;&gt;&gt;&gt;                      if (ret)<br>
&gt;&gt;&gt;&gt;                          goto out;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Ravi<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;      It&#39;s really strange that NFS Ganesha has ever passed the tests.<br>
&gt;&gt;&gt;&gt;&gt; How do we test NFS Ganesha exporting ?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Best Regards,<br>
&gt;&gt;&gt;&gt;&gt; Strahil Nikolov<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Community Meeting Calendar:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Schedule -<br>
&gt;&gt;&gt;&gt;&gt; Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
&gt;&gt;&gt;&gt;&gt; Bridge:<a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Gluster-devel mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;      <br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Community Meeting Calendar:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Schedule -<br>
&gt;&gt;&gt;&gt; Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
&gt;&gt;&gt;&gt; Bridge:<a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Gluster-devel mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
<br>
</blockquote></div>