[Bugs] [Bug 1197433] Geo-rep: Duplicate public keys in authorized_keys on each run of create command

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 6 02:27:44 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9776 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 1a2c1e9bf8d711d821fbd166ed6d7f7d9bcce69d
Author: Aravinda VK <avishwan at redhat.com>
Date:   Sun Mar 1 11:48:12 2015 +0530

    geo-rep: Avoid duplicate entries in authorized_keys file

    When Georep create(force) command is run multiple times
    it appends master nodes public keys to Slave nodes without
    checking the existence of the key.

    With this patch, create push-pem force adds pub key only if
    not available in authorized_keys.

    BUG: 1197433
    Change-Id: Iad57f6c45698e258ad1a547fa7a2e376a315f0cd
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on: http://review.gluster.org/9776
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>
    Reviewed-by: Saravanakumar Arumugam <sarumuga at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=FpQNGjYVHC&a=cc_unsubscribe


More information about the Bugs mailing list