Bug 1223741 - non-root geo-replication session goes to faulty state, when the session is started
Summary: non-root geo-replication session goes to faulty state, when the session is st...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1220345 1222750 1224199 1230353
TreeView+ depends on / blocked
 
Reported: 2015-05-21 11:28 UTC by Kotresh HR
Modified: 2016-06-16 13:03 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of: 1222750
Environment:
Last Closed: 2016-06-16 13:03:49 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kotresh HR 2015-05-21 11:28:43 UTC
+++ This bug was initially created as a clone of Bug #1222750 +++

Description of problem:
Non root geo-replication goes to faulty state when session is started. The mount broker setup was created using the newly introduced mountbroker commands. I see the glusterd.vol file is correctly updated.

In the logs I see the following messages:
-----------------------------------------
[2015-05-19 10:18:29.52244] E [syncdutils(/home/test-master-b1):252:log_raise_exception] <top>: connection to peer is broken
[2015-05-19 10:18:29.52680] E [resource(/home/test-master-b1):222:errlog] Popen: command "ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/ge\
o-replication/secret.pem -oControlMaster=auto -S /tmp/gsyncd-aux-ssh-21RWr2/e13694861a6648f401d6989864875cac.sock anmol.43.13 /nonexistent/gsyncd --session-owner fff3\
f38e-35dc-43aa-aad3-2d8a39be92ed -N --listen --timeout 120 gluster://localhost:test-slave1" returned with 1, saying:
[2015-05-19 10:18:29.52881] E [resource(/home/test-master-b1):226:logerr] Popen: ssh> [2015-05-19 04:48:27.930571] I [cli.c:716:main] 0-cli: Started running /usr/sbin/glust\
er with version 3.8dev
[2015-05-19 10:18:29.53020] E [resource(/home/test-master-b1):226:logerr] Popen: ssh> [2015-05-19 04:48:27.930631] I [cli.c:604:cli_rpc_init] 0-cli: Connecting to remote gl\
usterd at localhost
[2015-05-19 10:18:29.53143] E [resource(/home/test-master-b1):226:logerr] Popen: ssh> [2015-05-19 04:48:28.243088] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll\
: Started thread with index 1
[2015-05-19 10:18:29.53241] E [resource(/home/test-master-b1):226:logerr] Popen: ssh> [2015-05-19 04:48:28.243166] I [socket.c:2409:socket_event_handler] 0-transport: disco\
nnecting now
[2015-05-19 10:18:29.53339] E [resource(/home/test-master-b1):226:logerr] Popen: ssh> [2015-05-19 04:48:28.245386] I [cli-rpc-ops.c:6234:gf_cli_getwd_cbk] 0-cli: Received r\
esp to getwd
[2015-05-19 10:18:29.53448] E [resource(/home/test-master-b1):226:logerr] Popen: ssh> [2015-05-19 04:48:28.245457] I [input.c:36:cli_batch] 0-: Exiting with: 0
[2015-05-19 10:18:29.53627] I [syncdutils(/home/test-master-b1):220:finalize] <top>: exiting.
[2015-05-19 10:18:29.55248] I [repce(agent):92:service_loop] RepceServer: terminating on reaching EOF.
[2015-05-19 10:18:29.55484] I [syncdutils(agent):220:finalize] <top>: exiting.
[2015-05-19 10:18:29.57185] I [monitor(monitor):274:monitor] Monitor: worker(/home/test-master-b1) died before establishing connection



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


How reproducible:
Always, by following the documented steps for non root geo-rep

Steps to Reproduce:
1.
2.
3.

Actual results:
The session goes to faulty when started

Expected results:
The session should not go to faulty state.

Additional info:

Comment 1 Anand Avati 2015-05-21 11:34:48 UTC
REVIEW: http://review.gluster.org/10876 (geo-rep: Fix acl mounting in mountbroker setup) posted (#1) for review on master by Kotresh HR (khiremat)

Comment 2 Anand Avati 2015-05-28 06:37:08 UTC
REVIEW: http://review.gluster.org/10876 (geo-rep: Fix acl mounting in mountbroker setup) posted (#2) for review on master by Kotresh HR (khiremat)

Comment 3 Anand Avati 2015-05-29 06:19:19 UTC
COMMIT: http://review.gluster.org/10876 committed in master by Venky Shankar (vshankar) 
------
commit 4675bffe46d4cd93ad7198167ca4beb9da4e293e
Author: Kotresh HR <khiremat>
Date:   Thu May 21 17:00:59 2015 +0530

    geo-rep: Fix acl mounting in mountbroker setup
    
    Add acl option to geo-rep mount specification template
    (georep_mnt_desc_template) for mountbroker setup.
    
    Change-Id: I5b93ebb81bd308fc343c3b9e21c36c78acedcbaa
    BUG: 1223741
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/10876
    Tested-by: NetBSD Build System
    Reviewed-by: Venky Shankar <vshankar>

Comment 4 Niels de Vos 2016-06-16 13:03:49 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.