Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1346138

Summary: [RFE] Non root Geo-replication Error logs improvements
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v3.10.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1359607 1370995 (view as bug list) Environment:
Last Closed: 2017-03-08 09:30:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1359607, 1370995    

Description Aravinda VK 2016-06-14 06:12:31 UTC
Description of problem:
During Non-root Geo-replication setup, if Mountbroker mount fails Gluster just shows Permission denied or Operation not Permitted errors. 

Log/stderr need to be enhanced to show exact reason for Mount failures. (User dir permissions, Arguments mismatch, Invalid Log file path etc)

Comment 1 Worker Ant 2016-08-25 16:54:08 UTC
REVIEW: http://review.gluster.org/15319 (glusterd: Improve mountbroker logs) posted (#1) for review on master by Kotresh HR (khiremat)

Comment 2 Worker Ant 2016-08-25 16:55:49 UTC
REVIEW: http://review.gluster.org/15319 (glusterd: Improve mountbroker logs) posted (#2) for review on master by Kotresh HR (khiremat)

Comment 3 Worker Ant 2016-08-26 04:21:54 UTC
COMMIT: http://review.gluster.org/15319 committed in master by Atin Mukherjee (amukherj) 
------
commit 0343da57b51c8b83ae59743740632ec058a0d333
Author: Kotresh HR <khiremat>
Date:   Thu Aug 25 22:20:30 2016 +0530

    glusterd: Improve mountbroker logs
    
    When Mountbroker mount fails, it was just returning
    EPERM or EACCESS without logging exact failure.
    This patch improves the logging by logging exact
    failure.
    
    Change-Id: I3cd905f95865153f70dfcc3bf1fa4dd19af16455
    BUG: 1346138
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/15319
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 4 Worker Ant 2016-08-29 07:12:58 UTC
REVIEW: http://review.gluster.org/15333 (glusterd: Fix msgid in mountbroker logs) posted (#1) for review on master by Kotresh HR (khiremat)

Comment 5 Worker Ant 2016-08-29 13:01:26 UTC
COMMIT: http://review.gluster.org/15333 committed in master by Atin Mukherjee (amukherj) 
------
commit 58997a904f2a106d6f2d7629e01f8f69e9918ba7
Author: Kotresh HR <khiremat>
Date:   Mon Aug 29 12:40:48 2016 +0530

    glusterd: Fix msgid in mountbroker logs
    
    Fix declared but not used msgid in mountbroker
    logs.
    
    Change-Id: I68d331f2741726624f647a8bc437e1ebcddd038f
    Signed-off-by: Kotresh HR <khiremat>
    BUG: 1346138
    Reviewed-on: http://review.gluster.org/15333
    Reviewed-by: Atin Mukherjee <amukherj>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.org>