diff options
author | Aravinda VK <avishwan@redhat.com> | 2016-06-15 13:54:37 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2016-08-31 03:09:12 -0700 |
commit | 29a57765d524af8ec0e5bab17e5ff7f47b968342 (patch) | |
tree | 4de0fd0e3f19f02e34dc3f439946bdf44f8c0c22 /glusterfs.spec.in | |
parent | f7e91cd7f0264894033ee98c44c552fcf5a0506c (diff) |
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 <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/14732
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 10 |
1 files changed, 8 insertions, 2 deletions
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 <avishwan@redhat.com> +- Added new Geo-replication utility "gluster-georep-sshkey" (#1356508) + * Thu Aug 25 2016 Aravinda VK <avishwan@redhat.com> -* 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 <mchangir@redhat.com> - Add psmisc as dependency for glusterfs-fuse for killall command (#1367665) |