<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div><span>Thanks, David:<br>
<br>
But I'd rather see if I can fix the problem with the Mageia client (</span><code>glusterfs-client-3.0.0-2.mga1</code><span>):</span></div>
<ul><li><span>This will allow me to file a bug report with the package maintainer (if necessary).</span></li><li><span>I already know that the systems that have Gluster 3.2.6 from source [i.e., the storage nodes] are able to mount the volume.</span></li><li><span>I'd rather keep my daily-driver (i.e., the host system) 100% Mageia.</span></li></ul>
<div>Eric Pretorious<br>
          Truckee, CA</div>
<div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> David Coulson &lt;david@davidcoulson.net&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Eric &lt;epretorious@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "gluster-users@gluster.org" &lt;gluster-users@gluster.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, May 5, 2012 9:16 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Gluster-users] Gluster client can't connect to Gluster volume<br> </font> </div> <br>
<div id="yiv723130185">
  

    
  
  <div>
    That's way old documentation.<br>
    <br>
    Start by installing 3.2.6 on your client and see if it works then. I
    don't think anyone expects 3.2 and 3.0 to work correctly.<br>
    <br>
    On 5/5/12 12:09 PM, Eric wrote:
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt;">
        <div>Thanks, David:</div>
        <div><span><br>
          </span></div>
        <div><span>Yes...</span></div>
        <ul>
          <li><span>iptables has been disabled on all three systems.</span></li>
          <li><span>SELinux is set to permissive on the two systems that
              employ it - the two CentOS nodes.</span></li>
          <li><span>Port #6996 is referenced in <a rel="nofollow" target="_blank" href="http://www.gluster.org/community/documentation/index.php/User_Guide#Troubleshooting"><span class="yiv723130185yshortcuts" id="yiv723130185lw_1336234168_0">the
                  Troubleshooting section of the Gluster User Guide</span></a>.</span></li>
        </ul>
        <div><span>FWIW: All of this <span style="font-style:italic;">except
              the SELinux question</span> is already documented in </span>
          <a rel="nofollow" target="_blank" href="https://forums.mageia.org/en/viewtopic.php?f=7&amp;amp;t=2358&amp;amp;p=17517">my
            post on the Mageia Forum</a>.</div>
        <div><br>
        </div>
        <div>Eric Pretorious<br>
          Truckee, CA</div>
        <div><br>
          <blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;">
            <div style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt;">
              <div style="font-family:times new roman, new york, times, serif;font-size:12pt;">
                <div dir="ltr"> <font face="Arial" size="2">
                    <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
                    David Coulson <a rel="nofollow" class="yiv723130185moz-txt-link-rfc2396E" ymailto="mailto:david@davidcoulson.net" target="_blank" href="mailto:david@davidcoulson.net">&lt;david@davidcoulson.net&gt;</a><br>
                    <b><span style="font-weight:bold;">To:</span></b>
                    Eric <a rel="nofollow" class="yiv723130185moz-txt-link-rfc2396E" ymailto="mailto:epretorious@yahoo.com" target="_blank" href="mailto:epretorious@yahoo.com">&lt;epretorious@yahoo.com&gt;</a> <br>
                    <b><span style="font-weight:bold;">Cc:</span></b>
                    <a rel="nofollow" class="yiv723130185moz-txt-link-rfc2396E" ymailto="mailto:gluster-users@gluster.org" target="_blank" href="mailto:gluster-users@gluster.org">"gluster-users@gluster.org"</a>
                    <a rel="nofollow" class="yiv723130185moz-txt-link-rfc2396E" ymailto="mailto:gluster-users@gluster.org" target="_blank" href="mailto:gluster-users@gluster.org">&lt;gluster-users@gluster.org&gt;</a> <br>
                    <b><span style="font-weight:bold;">Sent:</span></b>
                    Saturday, May 5, 2012 5:44 AM<br>
                    <b><span style="font-weight:bold;">Subject:</span></b>
                    Re: [Gluster-users] Gluster client can't connect to
                    Gluster volume<br>
                  </font> </div>
                <br>
                <div id="yiv723130185">
                  <div> Do you have any firewall rules enabled? I'd
                    start by disabling iptables (or at least setting
                    everything to ACCEPT) and as someone else suggested
                    setting selinux to permissive/disabled.<br>
                    <br>
                    Why are your nodes and client using different
                    versions of Gluster? Why not just use the 3.2.6
                    version for everything? Also, I'm not sure where
                    port 6996 comes from - Gluster uses 24007 for it's
                    core communications and ports above that for
                    individual bricks.<br>
                    <br>
                    David<br>
                    <br>
                    On 5/5/12 12:27 AM, Eric wrote:
                    <blockquote type="cite">
                      <div style="color:#000;background-color:#fff;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt;">
                        <div>Hi, All:<br>
                          <br>
                          I've built a Gluster-based storage cluster on
                          a pair of CentOS 5.7 (i386) VM's. The nodes
                          are using Gluster 3.2.6 (from source) and the
                          host is using Gluster 3.0.0 (from the Mageia
                          package repositories):</div>
                        <div><br>
                        </div>
                        <div style="margin-left:40px;"><code>[eric@node1
                            ~]$ sudo /usr/local/sbin/gluster --version<br>
                            glusterfs 3.2.6 built on May&nbsp; 3 2012
                            15:53:02<br>
                            <br>
                          </code><code>[eric@localhost ~]$ rpm -qa |
                            grep glusterfs</code><br>
                          <code>glusterfs-common-3.0.0-2.mga1</code><br>
                          <code>glusterfs-client-3.0.0-2.mga1</code><br>
                          <code>glusterfs-server-3.0.0-2.mga1</code><br>
                          <code>libglusterfs0-3.0.0-2.mga1</code></div>
                        <div><br>
                        </div>
                        <div> </div>
                        <div>None of the systems (i.e., neither the two
                          storage nodes nor the client) can connect to
                          Port 6996 of the cluster (<span style="font-style:italic;"><a rel="nofollow" target="_blank" href="http://node1.example.com">node1.example.com</a>
                            &amp; <a rel="nofollow" target="_blank" href="http://node2.example.com">node2.example.com</a></span>)
                          but the two storage nodes can mount the shared
                          volume using the Gluster helper and/or NFS:</div>
                        <div><br>
                        </div>
                        <div style="margin-left:40px;"><code>[eric@node1
                            ~]$ sudo /sbin/lsmod | grep fuse<br>
                            <br>
                            [eric@node1 ~]$ sudo /sbin/modprobe fuse<br>
                            <br>
                            [eric@node1 ~]$ sudo /sbin/lsmod | grep fuse<br>
                            fuse&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;49237&nbsp; 0 <br>
                            <br>
                            [eric@node1 ~]$ sudo mount -t glusterfs
                            node1:/mirror-1 /mnt<br>
                            <br>
                            [eric@node1 ~]$ sudo grep gluster /etc/mtab
                            <br>
                            glusterfs#node1:/mirror-1 /mnt fuse
                            rw,allow_other,default_permissions,max_read=131072
                            0 0</code></div>
                        <div><br>
                        </div>
                        <div> ...but the host system is only able to
                          connect using NFS:</div>
                        <div><br>
                        </div>
                        <div style="margin-left:40px;"><code>[eric@localhost
                            ~]$ sudo glusterfs --debug -f
                            /tmp/glusterfs.vol /mnt<br>
                            [2012-05-04 19:09:09] D
                            [glusterfsd.c:424:_get_specfp] glusterfs:
                            loading volume file /tmp/glusterfs.vol<br>
================================================================================<br>
                            Version&nbsp; &nbsp; &nbsp; : glusterfs 3.0.0 built on Apr
                            10 2011 19:12:54<br>
                            git: 2.0.1-886-g8379edd<br>
                            Starting Time: 2012-05-04 19:09:09<br>
                            Command line : glusterfs --debug -f
                            /tmp/glusterfs.vol /mnt <br>
                            PID&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 30159<br>
                            System name&nbsp; : Linux<br>
                            Nodename&nbsp; &nbsp; &nbsp;: localhost.localdomain<br>
                            Kernel Release : 2.6.38.8-desktop586-10.mga<br>
                            Hardware Identifier: i686<br>
                            <br>
                            Given volfile:<br>
+------------------------------------------------------------------------------+<br>
                            &nbsp; 1: volume mirror-1<br>
                            &nbsp; 2:&nbsp; type protocol/client<br>
                            &nbsp; 3:&nbsp; option transport-type tcp<br>
                            &nbsp; 4:&nbsp; option remote-host node1.example.com<br>
                            &nbsp; 5:&nbsp; option remote-subvolume mirror-1<br>
                            &nbsp; 6: end-volume<br>
+------------------------------------------------------------------------------+<br>
                            [2012-05-04 19:09:09] D
                            [glusterfsd.c:1335:main] glusterfs: running
                            in pid 30159<br>
                            [2012-05-04 19:09:09] D
                            [client-protocol.c:6581:init] mirror-1:
                            defaulting frame-timeout to 30mins<br>
                            [2012-05-04 19:09:09] D
                            [client-protocol.c:6592:init] mirror-1:
                            defaulting ping-timeout to 42<br>
                            [2012-05-04 19:09:09] D
                            [transport.c:145:transport_load] transport:
                            attempt to load file
                            /usr/lib/glusterfs/3.0.0/transport/socket.so<br>
                            [2012-05-04 19:09:09] D
                            [transport.c:145:transport_load] transport:
                            attempt to load file
                            /usr/lib/glusterfs/3.0.0/transport/socket.so<br>
                            [2012-05-04 19:09:09] D
                            [client-protocol.c:7005:notify] mirror-1:
                            got GF_EVENT_PARENT_UP, attempting connect
                            on transport<br>
                            [2012-05-04 19:09:09] D
                            [client-protocol.c:7005:notify] mirror-1:
                            got GF_EVENT_PARENT_UP, attempting connect
                            on transport<br>
                            [2012-05-04 19:09:09] D
                            [client-protocol.c:7005:notify] mirror-1:
                            got GF_EVENT_PARENT_UP, attempting connect
                            on transport<br>
                            [2012-05-04 19:09:09] D
                            [client-protocol.c:7005:notify] mirror-1:
                            got GF_EVENT_PARENT_UP, attempting connect
                            on transport<br>
                            [2012-05-04 19:09:09] N
                            [glusterfsd.c:1361:main] glusterfs:
                            Successfully started<br>
                            [2012-05-04 19:09:09] E
                            [socket.c:760:socket_connect_finish]
                            mirror-1: connection to&nbsp; failed (Connection
                            refused)<br>
                            [2012-05-04 19:09:09] D
                            [fuse-bridge.c:3079:fuse_thread_proc] fuse:&nbsp;
                            pthread_cond_timedout returned non zero
                            value ret: 0 errno: 0<br>
                            [2012-05-04 19:09:09] N
                            [fuse-bridge.c:2931:fuse_init]
                            glusterfs-fuse: FUSE inited with protocol
                            versions: glusterfs 7.13 kernel 7.16<br>
                            [2012-05-04 19:09:09] E
                            [socket.c:760:socket_connect_finish]
                            mirror-1: connection to&nbsp; failed (Connection
                            refused)</code></div>
                        <div><br>
                        </div>
                        <div>I've read through the Troubleshooting
                          section of the <a rel="nofollow" target="_blank" href="http://download.gluster.com/pub/gluster/glusterfs/3.2/Documentation/AG/html/chap-Administration_Guide-Troubleshooting.html">Gluster

                            Administration Guide</a> and the <a rel="nofollow" target="_blank" href="http://www.gluster.org/community/documentation/index.php/User_Guide#Troubleshooting">Gluster

                            User Guide </a>but can't seem to resolve
                          the problem. (See my post on <a rel="nofollow" target="_blank" href="https://forums.mageia.org/en/viewtopic.php?f=7&amp;amp;t=2358&amp;amp;p=17517">the

                            Mageia Forum</a> for all the troubleshooting
                          details: <a rel="nofollow" class="yiv723130185moz-txt-link-freetext" target="_blank" href="https://forums.mageia.org/en/viewtopic.php?f=7&amp;t=2358&amp;p=17517">https://forums.mageia.org/en/viewtopic.php?f=7&amp;t=2358&amp;p=17517</a>)
                        </div>
                        <div><br>
                        </div>
                        <div>What might be causing this?<br>
                        </div>
                        <br>
                        TIA,<br>
                        Eric Pretorious<br>
                        Truckee, CA<br>
                        <br>
                        <div><a rel="nofollow" class="yiv723130185moz-txt-link-freetext" target="_blank" href="https://forums.mageia.org/en/viewtopic.php?f=7&amp;t=2358&amp;p=17517">https://forums.mageia.org/en/viewtopic.php?f=7&amp;t=2358&amp;p=17517</a></div>
                      </div>
                      <br>
                      <fieldset class="yiv723130185mimeAttachmentHeader"></fieldset>
                      <br>
                      <pre>_______________________________________________
Gluster-users mailing list
<a rel="nofollow" class="yiv723130185moz-txt-link-abbreviated" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a rel="nofollow" class="yiv723130185moz-txt-link-freetext" target="_blank" href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a>
</pre>
                    </blockquote>
                  </div>
                </div>
                <br>
                <br>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </div>

</div><br><br> </div> </div> </blockquote></div>   </div></body></html>