Bug 1173734

Summary: RDMA: [RFE] Cleaner log messages when RDMA volumes fail to mount.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ben Turner <bturner>
Component: rdmaAssignee: Mohammed Rafi KC <rkavunga>
Status: CLOSED WONTFIX QA Contact: storage-qa-internal <storage-qa-internal>
Severity: medium Docs Contact: Ben Turner <bturner>
Priority: unspecified    
Version: rhgs-3.0CC: chrisw, nlevinki, rkavunga, rwheeler
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1196584 (view as bug list) Environment:
Last Closed: 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: 1196584    

Description Ben Turner 2014-12-12 19:33:12 UTC
Description of problem:

When I try to mount an RDMA volume without an IB interface I get the following logs:

+------------------------------------------------------------------------------+
[2014-12-08 22:18:56.669319] W [rdma.c:1082:gf_rdma_cm_event_handler] 0-testvol-client-3: cma event RDMA_CM_EVENT_ADDR_ERROR, error -19 (me: peer

[2014-12-08 22:18:56.669361] E [MSGID: 108006] [afr-common.c:4293:afr_notify] 0-testvol-replicate-1: All subvolumes are down. Going offline until atleast one of them comes back up.
[2014-12-08 22:18:56.672226] I [fuse-bridge.c:5042:fuse_graph_setup] 0-fuse: switched to graph 0
[2014-12-08 22:18:56.672473] I [fuse-bridge.c:3971:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.22 kernel 7.13
[2014-12-08 22:18:56.672745] W [fuse-bridge.c:757:fuse_attr_cbk] 0-glusterfs-fuse: 2: LOOKUP() / => -1 (Transport endpoint is not connected)
[2014-12-08 22:18:56.684194] I [fuse-bridge.c:4883:fuse_thread_proc] 0-fuse: unmounting /gluster-mount
[2014-12-08 22:18:56.684519] W [glusterfsd.c:1182:cleanup_and_exit] (--> 0-: received signum (15), shutting down
[2014-12-08 22:18:56.684545] I [fuse-bridge.c:5561:fini] 0-fuse: Unmounting '/gluster-mount'.

Is there any way we can make the error:

cma event RDMA_CM_EVENT_ADDR_ERROR, error -19

More descriptive so the user knows that there is an issue finding / connecting with an RDMA device?

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

glusterfs-3.6.0.38-1.el6.x86_64

How reproducible:

Every time

Steps to Reproduce:
1.  Try to mount an RDMA volume without a properly configured IB device.
2.
3.

Actual results:

Mount fails as expected, but log message is cryptic.

Expected results:

A more clear log message.

Additional info: