Bug 1173734 - RDMA: [RFE] Cleaner log messages when RDMA volumes fail to mount.
Summary: RDMA: [RFE] Cleaner log messages when RDMA volumes fail to mount.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rdma
Version: rhgs-3.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Mohammed Rafi KC
QA Contact: storage-qa-internal@redhat.com
Ben Turner
URL:
Whiteboard:
Depends On:
Blocks: 1196584
TreeView+ depends on / blocked
 
Reported: 2014-12-12 19:33 UTC by Ben Turner
Modified: 2018-04-16 18:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1196584 (view as bug list)
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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:


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