<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 09/01/17 16:27, Andreas Kurzac
wrote:<br>
</div>
<blockquote
cite="mid:fe9385ea3ad34969b20f1e3455f9f38f@mail.kinetik.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;}
span.E-MailFormatvorlage21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.E-MailFormatvorlage22
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US">Hi
Jiffin,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK">i raised bug 1411281.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK">If you could provide test-rpms i would be very
happy to test them in our environment.</span></p>
</div>
</blockquote>
<br>
Sorry If I missed in previous mail, which nfs-ganesha (2.3 or 2.4)
version are u using ?<br>
--<br>
Jiffin<br>
<br>
<blockquote
cite="mid:fe9385ea3ad34969b20f1e3455f9f38f@mail.kinetik.de"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK">In the meantime i will switch to tcp,rdma and
continue working on our setup, we can then switch back to
pure rdma any time for testing.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK">Thanks for your help!<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK">Andreas<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK"><o:p> </o:p></span></p>
<p class="MsoNormal"><a moz-do-not-send="true"
name="_MailEndCompose"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="NO-BOK"><o:p> </o:p></span></a></p>
<span style="mso-bookmark:_MailEndCompose"></span>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:windowtext">Von:</span></b><span
style="color:windowtext"> Jiffin Tony Thottan
[<a class="moz-txt-link-freetext" href="mailto:jthottan@redhat.com">mailto:jthottan@redhat.com</a>]
<br>
<b>Gesendet:</b> Montag, 9. Januar 2017 06:02<br>
<b>An:</b> Andreas Kurzac <a class="moz-txt-link-rfc2396E" href="mailto:akurzac@kinetik.de"><akurzac@kinetik.de></a>;
<a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
<b>Betreff:</b> Re: [Gluster-users] Ganesha with Gluster
transport RDMA does not work<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi Andreas, <o:p></o:p></p>
<p>By checking the code IMO currently this is limitation with in
FSAL_GLUSTER. It tries to
<o:p></o:p></p>
<p>establish connection with glusterfs servers only using "tcp".
It is easy to fix as well.<o:p></o:p></p>
<p>You can raise a bug in <a moz-do-not-send="true"
href="https://bugzilla.redhat.com/enter_bug.cgi?product=nfs-ganesha">
https://bugzilla.redhat.com/enter_bug.cgi?product=nfs-ganesha</a> <o:p></o:p></p>
<p>under FSAL_GLUSTER. I don't have any hardware to test the
fix. I can either help you in<o:p></o:p></p>
<p>writing up fix for the issue or provide a test rpms with the
fix .<o:p></o:p></p>
<p>Also thanks for trying out nfs-ganesha with rdma and finding
about this issue.<o:p></o:p></p>
<p>For the time being , if possible you can try with tcp,rdma
volume to solve the problem.<o:p></o:p></p>
<p>Regards,<o:p></o:p></p>
<p>Jiffin<o:p></o:p></p>
<p><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 06/01/17 22:56, Andreas Kurzac wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p style="margin:0cm;margin-bottom:.0001pt">Dear All,<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">i have a glusterfs
pool with 3 servers with Centos7.3, Glusterfs 3.8.5, network
is Infiniband.<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Pacemaker/Corosync
and Ganesha-NFS is installed and all seems to be OK, no
error logged.<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">I created a
replica 3 volume with transport rdma (without tcp!).<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">When i mount this
volume via glusterfs and do some IO, no errors are logged
and everything seems to go pretty well.<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">When i mount the
volume via nfs and do some IO, nfs freezes immediatly and
following logs are written to
<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">ganesha-gfapi.log:<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">2017-01-05
23:23:53.536526] W [MSGID: 103004]
[rdma.c:452:gf_rdma_register_arena] 0-rdma: allocation of mr
failed<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">[2017-01-05
23:23:53.541519] W [MSGID: 103004]
[rdma.c:1463:__gf_rdma_create_read_chunks_from_vector]
0-rpc-transport/rdma: memory registration failed
(peer:10.40.1.1:49152) [Keine Berechtigung]<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">[2017-01-05
23:23:53.541547] W [MSGID: 103029]
[rdma.c:1558:__gf_rdma_create_read_chunks]
0-rpc-transport/rdma: cannot create read chunks from vector
entry->prog_payload<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">[2017-01-05
23:23:53.541553] W [MSGID: 103033]
[rdma.c:2063:__gf_rdma_ioq_churn_request]
0-rpc-transport/rdma: creation of read chunks failed<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">[2017-01-05
23:23:53.541557] W [MSGID: 103040]
[rdma.c:2775:__gf_rdma_ioq_churn_entry]
0-rpc-transport/rdma: failed to process request ioq entry to
peer(10.40.1.1:49152)<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">[2017-01-05
23:23:53.541562] W [MSGID: 103040]
[rdma.c:2859:gf_rdma_writev] 0-vmstor1-client-0: processing
ioq entry destined to (10.40.1.1:49152) failed<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">[2017-01-05
23:23:53.541569] W [MSGID: 103037]
[rdma.c:3016:gf_rdma_submit_request] 0-rpc-transport/rdma:
sending request to peer (10.40.1.1:49152) failed<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">[…]<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Some additional
info:<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Firewall is
disabled, SELinux is disabled.<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Different hardware
with Centos 7.1 and the Mellanox OFED 3.4 packages instead
of the Centos Infiniband packages lead to the same results.<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Just to mention: I
am not trying to do NFS over RDMA, the Ganesha FSAL is just
configured to "glusterfs".<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">I hope someone
could help me, i am running out of ideas…<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Kind regards,<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">Andreas<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Gluster-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>