Description of problem: vdsm gluster plugin get peers list and adds local server info to it by reading /etc/gluster/glusterd.info file. In the qa26 release, the file path is /var/lib/glusterd/glusterd.info is not readable by non-root users. vdsmd runs as vdsm user and hostsList gluster verbs fails due to this. Either we need the file readable or a gluster command to get this info. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
CHANGE: http://review.gluster.com/2940 (glusterd: file perm change for glusterd.info) merged in master by Vijay Bellur (vijay)
qa30 doesn't have this bug in fresh install, but appearing if rpm -Uvh is done. I think this is OK as these are all qa releases.
[root@dhcp201-221 ~]# ls -l /var/lib/glusterd/glusterd.info -rw-r--r--. 1 root root 42 May 29 18:03 /var/lib/glusterd/glusterd.info glusterd.info file is now readable by non-root users. Verified: glusterfs-server-3.3.0qa45-1.el6.x86_64