<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div><span>Thanks, Xavier:<br><br>SELinux is set to permissive on the two systems that have it.</span></div><div><br><span></span></div>Eric Pretorious<br><div>
        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> Xavier Normand &lt;xavier.normand@gmail.com&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> Friday, May 4, 2012 9:57 PM<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="yiv81468249"><div><div>Hi</div><div><br></div><div>Do you have selinux enable?<br><br>Envoyé de mon iPhone</div><div><br>Le 2012-05-05 à 00:27, Eric &lt;<a rel="nofollow" ymailto="mailto:epretorious@yahoo.com" target="_blank" href="mailto:epretorious@yahoo.com">epretorious@yahoo.com</a>&gt; a écrit&nbsp;:<br><br></div><div></div><blockquote type="cite"><div><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 <a rel="nofollow" target="_blank" href="http://node1.example.com">node1.example.com</a><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" 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" 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></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Gluster-users mailing list</span><br><span><a rel="nofollow" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a></span><br><span><a rel="nofollow" target="_blank" href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a></span><br></div></blockquote></div></div><br><br> </div> </div> </blockquote></div>   </div></body></html>