From 29a57765d524af8ec0e5bab17e5ff7f47b968342 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Wed, 15 Jun 2016 13:54:37 +0530 Subject: geo-rep: Alternate command to generate SSH Keys `gluster system:: execute gsec_create` is used to generate SSH Keys in all Master nodes and collect public keys in command initiated node. But this tool will not provide details if a peer node is down and unable to generate keys. New command will be introduced to create SSH Keys in all peer nodes. Usage: gluster-georep-sshkey generate or gluster-georep-sshkey generate --no-prefix Generates two SSH keys(one for gsyncd access and other for tar) in all peer nodes and collects the public keys to the local node where it is initiated. Adds `command=` prefix to common_secret.pem.pub if `--no-prefix` argument is not set. Shows status as below, +-----------+-------------+---------------+ | NODE | NODE STATUS | KEYGEN STATUS | +-----------+-------------+---------------+ | fvm2 | UP | OK | | localhost | UP | OK | +-----------+-------------+---------------+ BUG: 1356508 Change-Id: Ib202811f41f9986694f07d9eedba31db6ed4d18f Signed-off-by: Aravinda VK Reviewed-on: http://review.gluster.org/14732 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Kotresh HR --- glusterfs.spec.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index aeb1edf4a55..266b744a56a 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -391,7 +391,8 @@ Summary: GlusterFS Geo-replication Group: Applications/File Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-server%{?_isa} = %{version}-%{release} -Requires: python python-ctypes +Requires: python python-ctypes python-prettytable +Requires: python-gluster = %{version}-%{release} Requires: rsync %description geo-replication @@ -1045,6 +1046,8 @@ exit 0 %{_libexecdir}/glusterfs/peer_mountbroker %{_libexecdir}/glusterfs/peer_mountbroker.py* %{_libexecdir}/glusterfs/gfind_missing_files +%{_libexecdir}/glusterfs/peer_georep-sshkey.py* +%{_sbindir}/gluster-georep-sshkey %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/geo-replication %ghost %attr(0644,-,-) %{_sharedstatedir}/glusterd/geo-replication/gsyncd_template.conf @@ -1238,8 +1241,11 @@ exit 0 %endif %changelog +* Wed Aug 31 2016 Aravinda VK +- Added new Geo-replication utility "gluster-georep-sshkey" (#1356508) + * Thu Aug 25 2016 Aravinda VK -* Added gluster-mountbroker utility for geo-rep mountbroker setup (#1343333) +- Added gluster-mountbroker utility for geo-rep mountbroker setup (#1343333) * Mon Aug 22 2016 Milind Changire - Add psmisc as dependency for glusterfs-fuse for killall command (#1367665) -- cgit