[Bugs] [Bug 1225552] New: [Backup]: Unable to create a glusterfind session

bugzilla at redhat.com bugzilla at redhat.com
Wed May 27 16:28:00 UTC 2015


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

            Bug ID: 1225552
           Summary: [Backup]: Unable to create a glusterfind session
           Product: GlusterFS
           Version: 3.7.0
         Component: glusterfind
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
        QA Contact: bugs at gluster.org
                CC: avishwan at redhat.com, bugs at gluster.org,
                    khiremat at redhat.com, nsathyan at redhat.com,
                    sanandpa at redhat.com
        Depends On: 1221544
            Blocks: 1186580 (qe_tracker_everglades), 1224109



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

Description of problem:
Passwordless ssh is not getting setup between the peers of a cluster

Version-Release number of selected component (if applicable):
glusterfs-3.7.0beta2-0.0.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Have a 2 node cluster
2. Create a 2*2 distribute replicate volume 'ozone', and start it
3. Create a glusterfind session using 'glusterfind create'

Actual results:
It fails with the error - Failed to copy public key to
/var/lib/glusterd/glusterfind/.keys

Expected results:
Glusterfind session should get successfully created

Additional info:

[root at dhcp43-140 ~]# glusterfind create sess1 ozone
Failed to copy public key to /var/lib/glusterd/glusterfind/.keys: [Errno 2] No
such file or directory:
'/var/lib/glusterd/glusterfind/.keys/sess1_ozone_secret.pem.pub'
[root at dhcp43-140 ~]# 
[root at dhcp43-140 ~]# cd /var/log/glusterfs/glusterfind/
[root at dhcp43-140 glusterfind]#
[root at dhcp43-140 glusterfind]# cat sess1/ozone/cli.log 
[2015-05-14 20:16:41,990] INFO [main - 266:ssh_setup] - Ssh key generated
/var/lib/glusterd/glusterfind/sess1/ozone/sess1_ozone_secret.pem
[2015-05-14 20:16:41,993] ERROR [utils - 152:fail] - Failed to copy public key
to /var/lib/glusterd/glusterfind/.keys: [Errno 2] No such file or directory:
'/var/lib/glusterd/glusterfind/.keys/sess1_ozone_secret.pem.pub'
[2015-05-14 20:18:40,827] INFO [main - 266:ssh_setup] - Ssh key generated
/var/lib/glusterd/glusterfind/sess1/ozone/sess1_ozone_secret.pem
[2015-05-14 20:18:40,829] ERROR [utils - 152:fail] - Failed to copy public key
to /var/lib/glusterd/glusterfind/.keys: [Errno 2] No such file or directory:
'/var/lib/glusterd/glusterfind/.keys/sess1_ozone_secret.pem.pub'

[root at dhcp43-140 glusterfind]# rpm -qa | grep gluster
glusterfs-api-3.7.0beta2-0.0.el6.x86_64
python-gluster-3.7.0beta2-0.0.el6.x86_64
glusterfs-libs-3.7.0beta2-0.0.el6.x86_64
glusterfs-3.7.0beta2-0.0.el6.x86_64
glusterfs-fuse-3.7.0beta2-0.0.el6.x86_64
glusterfs-server-3.7.0beta2-0.0.el6.x86_64
glusterfs-extra-xlators-3.7.0beta2-0.0.el6.x86_64
glusterfs-client-xlators-3.7.0beta2-0.0.el6.x86_64
glusterfs-cli-3.7.0beta2-0.0.el6.x86_64
[root at dhcp43-140 glusterfind]#

--- Additional comment from Sweta Anandpara on 2015-05-15 01:40:20 EDT ---

Sosreports copied to:
http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/1221544/

--- Additional comment from Sweta Anandpara on 2015-05-18 02:36:06 EDT ---

On the latest build - glusterfs-3.7.0-2.el6rhs.x86_64, the same command fails
with the below error:

[root at dhcp43-140 ~]# glusterfind create sess vol1
Failed to add ssh keys to authorized_keys file: gsync peer_add_secret_pub
command not found.

[root at dhcp43-140 ~]#

--- Additional comment from Anand Avati on 2015-05-18 10:16:33 EDT ---

REVIEW: http://review.gluster.org/10807 (spec: Add missing file
peer_add_secret_pub to the server RPM to support glusterfind independent of the
geo-replication RPM) posted (#1) for review on master by Milind Changire
(mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-05-19 05:43:56 EDT ---

REVIEW: http://review.gluster.org/10807 (spec: move file peer_add_secret_pub to
server RPM) posted (#2) for review on master by Milind Changire
(mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-05-27 09:28:08 EDT ---

REVIEW: http://review.gluster.org/10807 (spec: move file peer_add_secret_pub to
server RPM) posted (#3) for review on master by Milind Changire
(mchangir at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1186580
[Bug 1186580] QE tracker bug for Everglades
https://bugzilla.redhat.com/show_bug.cgi?id=1221544
[Bug 1221544] [Backup]: Unable to create a glusterfind session
https://bugzilla.redhat.com/show_bug.cgi?id=1224109
[Bug 1224109] [Backup]: Unable to create a glusterfind session
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list