[Gluster-users] Failed to mount automatically Gluster Volume on Ubuntu 18.04.1 and GFS v5.0

MOISY Jérôme jerome.moisy at groupe-ab.fr
Fri Nov 9 08:38:13 UTC 2018


Hello,

All the servers and client are in version 5.0.

I have just reboot the client and the only message in the glusterd.log file from primary server, during the boot, are :
[2018-11-09 08:22:55.125849] E [MSGID: 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch handler
The message "E [MSGID: 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch handler" repeated 3 times between [2018-11-09 08:22:55.125849] and [2018-11-09 08:22:55.126831]

In the bricks log from primary server all show this :
[2018-11-09 08:19:07.135059] I [MSGID: 115036] [server.c:469:server_rpc_notify] 0-GFSVOL02-server: disconnecting connection from CTX_ID:37feacd7-45be-4fcd-9e6c-75c0d0ff8007-GRAPH_ID:0-PID:1876-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-16-RECON_NO:-0
[2018-11-09 08:19:07.135350] I [MSGID: 101055] [client_t.c:435:gf_client_unref] 0-GFSVOL02-server: Shutting down connection CTX_ID:37feacd7-45be-4fcd-9e6c-75c0d0ff8007-GRAPH_ID:0-PID:1876-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-16-RECON_NO:-0
[2018-11-09 08:19:07.135398] E [MSGID: 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch handler
[2018-11-09 08:22:55.127088] I [addr.c:54:compare_addr_and_update] 0-/gfs01/ROOT: allowed = "*", received addr = "10.10.22.13"
[2018-11-09 08:22:55.127120] I [MSGID: 115029] [server-handshake.c:802:server_setvolume] 0-GFSVOL02-server: accepted client from CTX_ID:a206a384-b0b8-46f8-8d78-337ae4d02696-GRAPH_ID:0-PID:1796-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-16-RECON_NO:-0 (version: 5.0)

[2018-11-09 08:19:07.135055] I [MSGID: 115036] [server.c:469:server_rpc_notify] 0-GFSVOL02-server: disconnecting connection from CTX_ID:37feacd7-45be-4fcd-9e6c-75c0d0ff8007-GRAPH_ID:0-PID:1876-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-18-RECON_NO:-0
[2018-11-09 08:19:07.135351] I [MSGID: 101055] [client_t.c:435:gf_client_unref] 0-GFSVOL02-server: Shutting down connection CTX_ID:37feacd7-45be-4fcd-9e6c-75c0d0ff8007-GRAPH_ID:0-PID:1876-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-18-RECON_NO:-0
[2018-11-09 08:19:07.135406] E [MSGID: 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch handler
[2018-11-09 08:22:55.128237] I [addr.c:54:compare_addr_and_update] 0-/gfs02/ROOT: allowed = "*", received addr = "10.10.22.13"
[2018-11-09 08:22:55.128265] I [MSGID: 115029] [server-handshake.c:802:server_setvolume] 0-GFSVOL02-server: accepted client from CTX_ID:a206a384-b0b8-46f8-8d78-337ae4d02696-GRAPH_ID:0-PID:1796-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-18-RECON_NO:-0 (version: 5.0)

[2018-11-09 08:19:07.135349] I [MSGID: 115036] [server.c:469:server_rpc_notify] 0-GFSVOL02-server: disconnecting connection from CTX_ID:37feacd7-45be-4fcd-9e6c-75c0d0ff8007-GRAPH_ID:0-PID:1876-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-20-RECON_NO:-0
[2018-11-09 08:19:07.135797] I [MSGID: 101055] [client_t.c:435:gf_client_unref] 0-GFSVOL02-server: Shutting down connection CTX_ID:37feacd7-45be-4fcd-9e6c-75c0d0ff8007-GRAPH_ID:0-PID:1876-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-20-RECON_NO:-0
[2018-11-09 08:19:07.135843] E [MSGID: 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch handler
[2018-11-09 08:22:55.128446] I [addr.c:54:compare_addr_and_update] 0-/gfs03/ROOT: allowed = "*", received addr = "10.10.22.13"
[2018-11-09 08:22:55.128468] I [MSGID: 115029] [server-handshake.c:802:server_setvolume] 0-GFSVOL02-server: accepted client from CTX_ID:a206a384-b0b8-46f8-8d78-337ae4d02696-GRAPH_ID:0-PID:1796-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-20-RECON_NO:-0 (version: 5.0)

[2018-11-09 08:19:07.135233] I [MSGID: 115036] [server.c:469:server_rpc_notify] 0-GFSVOL02-server: disconnecting connection from CTX_ID:37feacd7-45be-4fcd-9e6c-75c0d0ff8007-GRAPH_ID:0-PID:1876-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-22-RECON_NO:-0
[2018-11-09 08:19:07.135707] I [MSGID: 101055] [client_t.c:435:gf_client_unref] 0-GFSVOL02-server: Shutting down connection CTX_ID:37feacd7-45be-4fcd-9e6c-75c0d0ff8007-GRAPH_ID:0-PID:1876-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-22-RECON_NO:-0
[2018-11-09 08:19:07.135749] E [MSGID: 101191] [event-epoll.c:671:event_dispatch_epoll_worker] 0-epoll: Failed to dispatch handler
[2018-11-09 08:22:55.128530] I [addr.c:54:compare_addr_and_update] 0-/gfs04/ROOT: allowed = "*", received addr = "10.10.22.13"
[2018-11-09 08:22:55.128598] I [MSGID: 115029] [server-handshake.c:802:server_setvolume] 0-GFSVOL02-server: accepted client from CTX_ID:a206a384-b0b8-46f8-8d78-337ae4d02696-GRAPH_ID:0-PID:1796-HOST:SRVSAGFS-A13-PC_NAME:GFSVOL02-client-22-RECON_NO:-0 (version: 5.0)

The same messages appear in the log files on the secondary server

I don’t know how to interpret the message : 0-epoll: Failed to dispatch handler

Regards,

Jérôme MOISY
GROUPE AB
Administrateur Systèmes et Réseaux
email : jerome.moisy at groupe-ab.fr<mailto:jerome.moisy at groupe-ab.fr>

De : Atin Mukherjee <amukherj at redhat.com>
Envoyé : vendredi 9 novembre 2018 02:18
À : MOISY Jérôme <jerome.moisy at groupe-ab.fr>
Cc : gluster-users at gluster.org
Objet : Re: [Gluster-users] Failed to mount automatically Gluster Volume on Ubuntu 18.04.1 and GFS v5.0

What’s the version of srvstogfs-b11,srvstogfs-b11  and the client?

Have you checked the glusterd log of srvstogfs-b11 to see the reason of the disconnection?

On Wed, 7 Nov 2018 at 04:35, MOISY Jérôme <jerome.moisy at groupe-ab.fr<mailto:jerome.moisy at groupe-ab.fr>> wrote:
Hello,

I just installed a new storage pool with 2 x 5 Servers in version 5.0 and I can not automatically mount the volume on the client. But it works manually.

I found that the volume is mount during the boot then dismount.

With this line in fstab srvstogfs-b11:/GFSVOL02 /gfsvol02 glusterfs defaults,_netdev 0 0 there are those logs on the client
I [glusterfsd-mgmt.c:2424:mgmt_rpc_notify] 0-glusterfsd-mgmt: disconnected from remote-host: srvstogfs-b11
I [fuse-bridge.c:4259:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.24 kernel 7.26
I [fuse-bridge.c:4870:fuse_graph_sync] 0-fuse: switched to graph 0
I [fuse-bridge.c:5134:fuse_thread_proc] 0-fuse: initating unmount of /gfsvol02
W [glusterfsd.c:1481:cleanup_and_exit] (-->/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f8bbe6456db] -->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xfd) [0x560315e4397d] -->/usr/sbin/glusterfs(cleanup_and_exit+0x54) [0x560315e437d4] ) 0-: received signum (15), shutting down
I [fuse-bridge.c:5897:fini] 0-fuse: Unmounting '/gfsvol02'.
I [fuse-bridge.c:5902:fini] 0-fuse: Closing fuse connection to '/gfsvol02'

But when I add backupvolfile-server in fstab srvstogfs-b11:/GFSVOL02 /gfsvol02 glusterfs defaults,_netdev,backupvolfile-server=srvstogfs-a11 0 0 it works and logs show this :
I [glusterfsd-mgmt.c:2424:mgmt_rpc_notify] 0-glusterfsd-mgmt: disconnected from remote-host: srvstogfs-b11
I [glusterfsd-mgmt.c:2464:mgmt_rpc_notify] 0-glusterfsd-mgmt: connecting to next volfile server srvstogfs-a11
I [fuse-bridge.c:4259:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.24 kernel 7.26
I [fuse-bridge.c:4870:fuse_graph_sync] 0-fuse: switched to graph 0

If I invert the order of the servers it also works (srvstogfs-a11:/GFSVOL02 /gfsvol02 glusterfs defaults,_netdev,backupvolfile-server=srvstogfs-b11 0 0) and logs show this :
I [glusterfsd-mgmt.c:2424:mgmt_rpc_notify] 0-glusterfsd-mgmt: disconnected from remote-host: srvstogfs-a11
I [glusterfsd-mgmt.c:2464:mgmt_rpc_notify] 0-glusterfsd-mgmt: connecting to next volfile server srvstogfs-b11
I [fuse-bridge.c:4259:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.24 kernel 7.26
I [fuse-bridge.c:4870:fuse_graph_sync] 0-fuse: switched to graph 0

Servers and Client OS : Ubuntu 18.04.1 LTS Fully update
Glustersf version : 5.0

Thank you in advance for your help

_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>
https://lists.gluster.org/mailman/listinfo/gluster-users
--
- Atin (atinm)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181109/1495b798/attachment.html>


More information about the Gluster-users mailing list