Hide Forgot
In platform the volume files are generated by volgen which puts in the "option remote-host <hostname>" in the client volfile. Suppose a machine tries to mount the exports of the servers on a mount point in it then it fails. Because it pulls the volfile from the storage servers and it cannot resolve the hostname in "option remote-host <hostname>" line to the appropriate IP address, hence fails. Adding the IP address of the server and the corresponding hostname in /etc/hosts file of the client solves it.
There is no known solution to this. On a cluster you are supposed to know the hostnames. If its required the user can point the nameserver in /etc/resolv.conf to gluster master node i.e first node IP . From which he will be able to get the dns resolved for those hostnames without touching /etc/hosts. But in reality this is not an overkill to maintain DNS, people all around the globe maintain 1000's of hostnames in all well known HPC clusters.