[Bugs] [Bug 1231678] New: geo-rep: gverify.sh throws error if slave_host entry is not added to know_hosts file

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 15 08:22:01 UTC 2015


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

            Bug ID: 1231678
           Summary: geo-rep: gverify.sh throws error if slave_host entry
                    is not added to know_hosts file
           Product: GlusterFS
           Version: 3.7.0
         Component: geo-replication
          Keywords: Triaged
          Severity: medium
          Priority: medium
          Assignee: bugs at gluster.org
          Reporter: vbhat at redhat.com
                CC: avishwan at redhat.com, bugs at gluster.org,
                    gluster-bugs at redhat.com, vbhat at redhat.com
        Depends On: 1228696



+++ This bug was initially created as a clone of Bug #1228696 +++

Description of problem:
geo-rep requires passwordless ssh to be setup between geo-rep master to geo-rep
slave. But even if password less ssh is setup but the slave file entry is not
entered in the ~/.ssh/known_hosts file, gverify.sh throws error saying
"passwordless ssh is not setup"


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

How reproducible:
Always

Steps to Reproduce:
1. Create a passwordless ssh between master and slave nodes, but do not have
the entry in ~/.ssh/known_hosts file.
2. Run geo-rep create command.

Actual results:
geo-rep create fails with passwordless ssh not setup.

Expected results:
geo-rep create should succeed

Additional info:

--- Additional comment from Anand Avati on 2015-06-09 06:25:36 EDT ---

REVIEW: http://review.gluster.org/11106 (gverify: Adding
StrictHostKeyChecking=no for ssh verification) posted (#2) for review on master
by M S Vishwanath Bhat (msvbhat at redhat.com)

--- Additional comment from Niels de Vos on 2015-06-09 08:19:02 EDT ---

Please clone this bug for mainline, and update http://review.gluster.org/11106
to use the cloned bug.

The new clone should be added to the "depends on" field of this bug.

Once the patch has been merged in the master branch, you can send a backport to
release-3.7:

 
http://gluster.readthedocs.org/en/latest/Developer-guide/Backport%20Guidelines/

--- Additional comment from M S Vishwanath Bhat on 2015-06-10 16:23:44 EDT ---

(In reply to Niels de Vos from comment #2)
> Please clone this bug for mainline, and update
> http://review.gluster.org/11106 to use the cloned bug.

Agh, I made a mistake while raising the bug I think. Can I just change the
version to mainline instead?

I actually sent patch from master branch.

Does that work? I can clone to release-3.7 branch while cherry-pick'ing the
patch.

> 
> The new clone should be added to the "depends on" field of this bug.
> 
> Once the patch has been merged in the master branch, you can send a backport
> to release-3.7:
> 
>  
> http://gluster.readthedocs.org/en/latest/Developer-guide/
> Backport%20Guidelines/


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1228696
[Bug 1228696] geo-rep: gverify.sh throws error if slave_host entry is not
added to know_hosts file
-- 
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