<html><head></head><body>If the subnet mask is wrong on 122.11 it may forward all traffic to the default gateway.  The default gateway may be configured to NAT traffic from the LAN, so the response packet would be seen by .10 as coming from .1.<br>
<br>
Russ<br>
<br>
On Mar 22, 2016, at 10:10 PM, Joshua J. Kugler &#60;joshua@azariah.com&#62; wrote:<br>
<br>
Hmm...I'm wondering if my networking is messed up some how. But why would that <br>
cause host b to see host a as the gateway and not as the proper IP?<br>
<br>
j<br>
<br>
On Tuesday, March 22, 2016 17:33:03 Joshua J. Kugler wrote:<br>
On Tuesday, March 22, 2016 18:27:46 Atin Mukherjee wrote:<br>
This is the problem, peer handshaking hasn't finished yet. To get to<br>
know the reason I'd need to get the glusterd log file from <br>
192.168.122.10.<br>
<br>
Here's the log from the other machine (.10).<br>
<br>
As a workaround can you do the following?<br>
<br>
1. From node 1 open /var/lib/glusterd/peers/&#60;uuid file&#62;, modify state=3<br>
2. Repeat step 1 for node 2 as well if state is different<br>
3. restart both the glusterd instances.<br>
<br>
Hmm, just realized this:<br>
<br>
This is &#34;Box A&#34;<br>
[root@vmserver-a peers]# ls -l<br>
total 4<br>
-rw------- 1 root root 74 Mar 22 17:15 fe722085-ac0f-4449-a43f-2dc9dd1fd8fb<br>
[root@vmserver-a peers]# cat fe722085-ac0f-4449-a43f-2dc9dd1fd8fb<br>
uuid=fe722085-ac0f-4449-a43f-2dc9dd1fd8fb<br>
state=3<br>
hostname1=192.168.122.1<br>
<br>
This is &#34;Box B&#34; (from where I'm running the gluster create command:<br>
[root@vmserver-b peers]# ls -l<br>
total 4<br>
-rw------- 1 root root 75 Mar 22 17:15 d8e1d7a0-077a-4a50-93f6-d3922e3b96b9<br>
[root@vmserver-b peers]# cat d8e1d7a0-077a-4a50-93f6-d3922e3b96b9<br>
uuid=d8e1d7a0-077a-4a50-93f6-d3922e3b96b9<br>
state=3<br>
hostname1=192.168.122.10<br>
<br>
Why is the gateway in the peer list?  To my knowledge, that's not getting<br>
added anywhere. This is weird.<br>
<br>
Also odd:<br>
[root@vmserver-a peers]# gluster peer status<br>
Number of Peers: 1<br>
<br>
Hostname: 192.168.122.1<br>
Uuid: fe722085-ac0f-4449-a43f-2dc9dd1fd8fb<br>
State: Peer in Cluster (Disconnected)<br>
<br>
[root@vmserver-b peers]# gluster peer status<br>
Number of Peers: 1<br>
<br>
Hostname: 192.168.122.10<br>
Uuid: d8e1d7a0-077a-4a50-93f6-d3922e3b96b9<br>
State: Peer in Cluster (Connected)<br>
<br>
So, somehow, on vmserver-a is getting 192.168.122.1 in its peer list instead<br>
of 192.168.122.11<br>
<br>
Very strange.<br>
<br>
j<br>
<br>
~Atin<br>
<br>
Also send the glusterd log of the node where the commands have failed.<br>
<br>
The two logs are attached.  The peer status says connected. The log file<br>
says &#34;FAILED : Host 192.168.122.10 is not in 'Peer in Cluster' state&#34;<br>
I'm confused. :)<br>
<br>
Thanks for your help on this!<br>
<br>
j<br>
<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
Gluster-users@gluster.org<br>
http://www.gluster.org/mailman/listinfo/gluster-users<br>
<br>
-- <br>
Joshua J. Kugler - Fairbanks, Alaska<br>
Azariah Enterprises - Programming and Website Design<br>
joshua@azariah.com - Jabber: pedahzur@gmail.com<br>
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A<br>
_______________________________________________<br>
Gluster-users mailing list<br>
Gluster-users@gluster.org<br>
http://www.gluster.org/mailman/listinfo/gluster-users<br>
<br>

<img src="http://t.sidekickopen04.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LN9-W2z8_hM5wLWr-N7dSKlbd3_yKW6jq8hk1k1H6H0?si=6102096971038720&pi=7C5FA13B-A9B2-455A-854A-70FF0C66B799" width="1" height="1" style="display:none!important"></body></html>