[Gluster-infra] [Bug 1617903] New: Geo-rep tests fails with Permission denied even though keys are distributed

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 16 06:52:43 UTC 2018


            Bug ID: 1617903
           Summary: Geo-rep tests fails with Permission denied even though
                    keys are distributed
           Product: GlusterFS
           Version: mainline
         Component: project-infrastructure
          Assignee: bugs at gluster.org
          Reporter: khiremat at redhat.com
                CC: bugs at gluster.org, gluster-infra at gluster.org

Description of problem:
Occasionally geo-rep tests fail with Permission denied even though keys are

Geo-rep generates keys using following command.
1. gluster system:: exec gsec_create

Geo-rep distributes keys using following command.
2. gluster vol geo-rep <mastervol> <slavehost>::<slavevol> create push-pem

Actually hook script is used behind to distribute as part of above command


In the test case, we do wait and confirm the key is distributed to
authorized_keys before proceeding further

#Verify the keys are distributed
EXPECT_WITHIN $GEO_REP_TIMEOUT  0 check_keys_distributed

function check_keys_distributed()
    local search_key=$(cat
    grep -F "$search_key" ~/.ssh/authorized_keys > /dev/null
    echo $?

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

How reproducible:

Steps to Reproduce:
1. regression run of tests/00-geo-rep/00-georep-verify-setup.t

Actual results:
Fails sometimes

Expected results:
Should always pass

Additional info:

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=0XBdLA52rP&a=cc_unsubscribe

More information about the Gluster-infra mailing list