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 --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 97c4d18d2aa..132c7cc3cc0 100644 --- a/.gitignore +++ b/.gitignore @@ -65,6 +65,7 @@ geo-replication/src/peer_gsec_create geo-replication/src/peer_mountbroker geo-replication/src/peer_mountbroker.py geo-replication/src/set_geo_rep_pem_keys.sh +geo-replication/src/peer_georep-sshkey.py geo-replication/syncdaemon.egg-info geo-replication/syncdaemon/configinterface.py geo-replication/tests/unit/.coverage -- cgit