[Bugs] [Bug 1172058] New: push-pem does not distribute common_secret.pem.pub

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 9 10:19:03 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1172058

            Bug ID: 1172058
           Summary: push-pem does not distribute common_secret.pem.pub
           Product: GlusterFS
           Version: 3.6.1
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: zsarosi at gmail.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
gluster volume geo-replication ... create push-pem  command reports success,
but the keys are not distributed to the slaves.

Version-Release number of selected component (if applicable):
3.6.1


How reproducible:
almost always

Steps to Reproduce:
1. create and start 2 x 2 gluster replicas (2 x replicas on master side, 2 x
replicas on slave side)
2. generate ssh key for the root on master1 server (/root/.ssh/id_rsa), add the
public key (/root/.ssh/id_rsa.pub) to the slave1 and slave2 to
(/root/.ssh/authorized_keys)
3. generate common_keys on master1 using: gluster system:: execute gsec_create
4. create geo-replication: gluster volume geo-replication volume_master
slave1::volume_slave create push-pem
5. on slaves: cat /root/.ssh/authorized_keys

Actual results:
on the slave1 and slave2 /root/.ssh/authorized_keys file contains only the
public keys of the root at master1 (the one from step 2) and not the
common_secret.pem.pub keys from step 3, hence starting the gluster
geo-replication fails.

Expected results:
on both slave1 and slave2 /root/.ssh/authorized_keys should contain the
common_secret.pem.pub public keys generated in step 3

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list