Niels de Vos
2014-Dec-19 15:53 UTC
[Gluster-users] gluster 3.6.1 mount failed with no error to terminal (sometimes)
On Fri, Dec 19, 2014 at 02:31:57PM +0000, Kingsley wrote:> I have four CentOS 7 servers set up with gluster 3.6.1 and have a single > replicated volume across these. All servers are set up the same as each > other and are brand new installations. > > To test, I've mounted the volume on each so that each server can also > use the volume as a client. > > The weird thing is, while the mount failed for an obvious reason, I > didn't always get an error back to the terminal (I pasted the mount > command to the other terminal windows before spotting I'd made a typo in > the server name, which is why the mount attempts had failed). Why would > an error not be sent to the terminal sometimes, but not always?This should be fixed with the patch for Bug 1173513: - https://bugzilla.redhat.com/1173513 - http://review.gluster.org/9270 The change is included in the next update for 3.6. HTH, Niels> > Transcript: > > [root at gluster1b-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0 > Mount failed. Please check the log file for more details. > [root at gluster1b-1 ~]# > > [root at gluster2a-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0 > [root at gluster2a-1 ~]# > > [root at gluster2b-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0/ > [root at gluster2b-1 ~]# > > Mount logs below - no significant differences between them: > > Mount log from gluster1b-1: > [2014-12-19 14:06:26.580652] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0) > [2014-12-19 14:06:26.775351] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known) > [2014-12-19 14:06:26.775388] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1 > [2014-12-19 14:06:26.775448] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success) > [2014-12-19 14:06:26.775459] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers > [2014-12-19 14:06:26.784373] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down > [2014-12-19 14:06:26.784400] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'. > [2014-12-19 14:06:26.784721] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down > > Mount log from gluster2a-1: > [2014-12-19 14:06:03.041475] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0) > [2014-12-19 14:06:03.270815] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known) > [2014-12-19 14:06:03.270858] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1 > [2014-12-19 14:06:03.270921] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success) > [2014-12-19 14:06:03.270931] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers > [2014-12-19 14:06:03.271043] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down > [2014-12-19 14:06:03.271059] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'. > [2014-12-19 14:06:03.271369] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down > > Mount log from gluster2b-1: > [2014-12-19 14:08:57.724155] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0) > [2014-12-19 14:08:57.985704] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known) > [2014-12-19 14:08:57.985732] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1 > [2014-12-19 14:08:57.985787] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success) > [2014-12-19 14:08:57.985798] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers > [2014-12-19 14:08:57.985902] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down > [2014-12-19 14:08:57.985921] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'. > [2014-12-19 14:08:57.986163] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down > > -- > Cheers, > Kingsley. > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 181 bytes Desc: not available URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20141219/0fbc0123/attachment.sig>
Kingsley
2014-Dec-19 17:34 UTC
[Gluster-users] gluster 3.6.1 mount failed with no error to terminal (sometimes)
Thanks for that. I tried to find the release schedule and details of what issues would be fixed, but couldn't find it. Do you have a link to it? We're soon to deploy the cluster in production, but would probably delay a short while if there's an impending maintenance update. Cheers, Kingsley. On Fri, 2014-12-19 at 16:53 +0100, Niels de Vos wrote:> On Fri, Dec 19, 2014 at 02:31:57PM +0000, Kingsley wrote: > > I have four CentOS 7 servers set up with gluster 3.6.1 and have a single > > replicated volume across these. All servers are set up the same as each > > other and are brand new installations. > > > > To test, I've mounted the volume on each so that each server can also > > use the volume as a client. > > > > The weird thing is, while the mount failed for an obvious reason, I > > didn't always get an error back to the terminal (I pasted the mount > > command to the other terminal windows before spotting I'd made a typo in > > the server name, which is why the mount attempts had failed). Why would > > an error not be sent to the terminal sometimes, but not always? > > This should be fixed with the patch for Bug 1173513: > - https://bugzilla.redhat.com/1173513 > - http://review.gluster.org/9270 > > The change is included in the next update for 3.6. > > HTH, > Niels > > > > > > Transcript: > > > > [root at gluster1b-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0 > > Mount failed. Please check the log file for more details. > > [root at gluster1b-1 ~]# > > > > [root at gluster2a-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0 > > [root at gluster2a-1 ~]# > > > > [root at gluster2b-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0/ > > [root at gluster2b-1 ~]# > > > > Mount logs below - no significant differences between them: > > > > Mount log from gluster1b-1: > > [2014-12-19 14:06:26.580652] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0) > > [2014-12-19 14:06:26.775351] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known) > > [2014-12-19 14:06:26.775388] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1 > > [2014-12-19 14:06:26.775448] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success) > > [2014-12-19 14:06:26.775459] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers > > [2014-12-19 14:06:26.784373] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down > > [2014-12-19 14:06:26.784400] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'. > > [2014-12-19 14:06:26.784721] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down > > > > Mount log from gluster2a-1: > > [2014-12-19 14:06:03.041475] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0) > > [2014-12-19 14:06:03.270815] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known) > > [2014-12-19 14:06:03.270858] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1 > > [2014-12-19 14:06:03.270921] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success) > > [2014-12-19 14:06:03.270931] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers > > [2014-12-19 14:06:03.271043] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down > > [2014-12-19 14:06:03.271059] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'. > > [2014-12-19 14:06:03.271369] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down > > > > Mount log from gluster2b-1: > > [2014-12-19 14:08:57.724155] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0) > > [2014-12-19 14:08:57.985704] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known) > > [2014-12-19 14:08:57.985732] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1 > > [2014-12-19 14:08:57.985787] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success) > > [2014-12-19 14:08:57.985798] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers > > [2014-12-19 14:08:57.985902] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down > > [2014-12-19 14:08:57.985921] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'. > > [2014-12-19 14:08:57.986163] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down > > > > -- > > Cheers, > > Kingsley. > > > > _______________________________________________ > > Gluster-users mailing list > > Gluster-users at gluster.org > > http://supercolony.gluster.org/mailman/listinfo/gluster-users