Bug 1222750 - 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: 3.7.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Aravinda VK
QA Contact:
URL:
Whiteboard:
Depends On: 1223741
Blocks: glusterfs-3.7.1 1220345 1224199 1230353
TreeView+ depends on / blocked
 
Reported: 2015-05-19 04:57 UTC by Darshan
Modified: 2015-06-10 17:13 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.7.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1223741 1224199 (view as bug list)
Environment:
Last Closed: 2015-06-02 06:20:56 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Darshan 2015-05-19 04:57:54 UTC
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-25 06:17:56 UTC
REVIEW: http://review.gluster.org/10903 (geo-rep: Fix acl mounting in mountbroker setup) posted (#1) for review on release-3.7 by Kotresh HR (khiremat)

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

Comment 3 Anand Avati 2015-05-29 09:02:57 UTC
COMMIT: http://review.gluster.org/10903 committed in release-3.7 by Venky Shankar (vshankar) 
------
commit 74beb614efc94f6017a8face50bcbfab407ad9c4
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.
    
    BUG: 1222750
    Reviewed On: http://review.gluster.org/#/c/10876
    Change-Id: I6eccffeb592a8011002cf1cd925e3ed85245b4de
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/10903
    Tested-by: NetBSD Build System
    Reviewed-by: Aravinda VK <avishwan>


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