Description of problem: glusterd responding to requests from outside the cluster Version-Release number of selected component (if applicable): Mainline How reproducible: Always Steps to Reproduce: 1.create a cluster of 2 machines 2.create some volumes . 3.wipe out /etc/glusterd manually from one of the machine and restart glusterd(now this machine is outside the cluster). 4.issue volume stop (say) from the other machine . Actual results: volume stop command fails saying "volume doesn't exists". This is because the peer whose 'store' was wiped out responded to the "volume stop" request without checking if it was coming from a peer part of the cluster. Expected results: Volume stop command should fail because of broken cluster. The "wiped out" peer should not respond (positively/negatively) to the "volume stop" request when coming from a peer not part of its cluster. Additional info:
CHANGE: http://review.gluster.com/787 (glusterd: Fail 'requests' from non-peers.) merged in master by Vijay Bellur (vijay)
Now glusterd does not respond to peers outside the cluster