+++ This bug was initially created as a clone of Bug #1235225 +++ Description of problem: ======================= The script "set_geo_rep_pem_keys.sh" which does the distribution of the keys for non-root user to all slave nodes, fails as: [root@georep4 scripts]# /usr/libexec/glusterfs/set_geo_rep_pem_keys.sh redhataccount master slave cp: cannot create regular file `/geo-replication/': Is a directory Source file does not exist in /var/lib/glusterd Command executed successfully. [root@georep4 scripts]# The path in the script should be /var/lib/glusterd Version-Release number of selected component (if applicable): ============================================================= How reproducible: ================= Always
REVIEW: http://review.gluster.org/11381 (geo-rep: Fix glusterd working directory) posted (#1) for review on master by Kotresh HR (khiremat)
COMMIT: http://review.gluster.org/11381 committed in master by Venky Shankar (vshankar) ------ commit 9df8366174d57e3cd948d19efa9cdbadecfc012d Author: Kotresh HR <khiremat> Date: Wed Jun 24 18:30:18 2015 +0530 geo-rep: Fix glusterd working directory Mountbroker setup in geo-replication requires the script 'set_geo_rep_pem_keys.sh to be run manually out of gluster context. Hence the ${GLUSTERD_WORKDIR} is never set. So getting glusterd working dir using 'gluster system:: getwd'. Change-Id: Ic2fe85e685016b383e38af0ea43c3f0628c16a32 BUG: 1235292 Signed-off-by: Kotresh HR <khiremat> Reviewed-on: http://review.gluster.org/11381 Tested-by: NetBSD Build System <jenkins.org> Reviewed-by: Aravinda VK <avishwan>
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user