[Gluster-users] Quorum lost and glusterd restarts on all 3 gluster nodes
Edward Clay
edward.clay at uk2group.com
Thu Jul 12 16:12:32 UTC 2018
Hello, I've been struggling to figure out a few issues that I've been having with my 3 node glusterfs setup. We have been experiencing an issue where one of the gluster nodes decides that it can't communicate with another node and it seems like it restarts glusterd which then causes glusterd to restart on the node it can't communicate with and in the end causes the 3rd node to loose all communication with any of the other 2 nodes which causes it to restart glusterd due to quorum being lost. Which means I end of with ovirt VM that is critical to our business to stop responding while all of this is taking place. I've checked with our network team and they can't seem to find any issues on the 10gbe switch these systems are all connected to for glusterfs communications so I'm at a lost as to whats causing this. Our setup is as follows.
san1 10.4.16.11 (10Gbe IP) These all have a 1Gb public facing interface with access to the web.
san2 10.4.16.12 (10Gbe IP) These all have a 1Gb public facing interface with access to the web.
san3 10.4.16.19 (10Gbe IP) These all have a 1Gb public facing interface with access to the web.
hv1-7 All communicating on the same 10Gbe switch to the glusterfs sans
The first log entry around the time of glusterfsd restart is on san2.
[2018-07-11 19:16:09.130303] W [socket.c:593:__socket_rwv] 0-management: readv on 10.4.16.11:24007 failed (Connection timed out)
Followed by san1
[2018-07-11 19:16:09.169704] I [MSGID: 106004] [glusterd-handler.c:6317:__glusterd_peer_rpc_notify] 0-management: Peer <10.4.16.12>
Back on san2
[2018-07-11 19:16:09.172360] I [MSGID: 106004] [glusterd-handler.c:6317:__glusterd_peer_rpc_notify] 0-management: Peer <10.4.16.11> (<0f3090ee-080b-4a6b-9964-0ca86d801469>), in state <Peer in Cluster>, has disconnected from glusterd.
on san1
[2018-07-11 19:16:09.194170] W [glusterd-locks.c:843:glusterd_mgmt_v3_unlock] (-->/usr/lib64/glusterfs/3.12.6/xlator/mgmt/glusterd.so(+0x2322a) [0x7f041e73a22a] -->/usr/lib64/glusterfs/3.12.6/xlator/mgmt/glusterd.so(+0x2d198) [0x7f041e744198] -->/usr/lib64/glusterfs/3.12.6/xlator/mgmt/glusterd.so(+0xe4765) [0x7f041e7fb765] ) 0-management: Lock for vol EXPORTB not held
and it seems to spiral from there at around 19:16:12.488534 san3 chimes in about san2 connection failed. Then a few seconds later decides san1 is also not accessible causing it to also restart glusterd.
Mean while on one of the HV (one with the critical vm running on it) I see this log entry around the time this all starts.
rhev-data-center-mnt-glusterSD-10.4.16.11\:gv1.log
[2018-07-11 19:16:14.918389] W [socket.c:593:__socket_rwv] 0-gv1-client-2: readv on 10.4.16.19:49153 failed (No data available)
I've attached the full logs from the 19:16 time frame.
I need some help figuring out what could be causing this issue and what to check next.
Additonal information:
Glusterfs v3.12.6-1 is running on all 3 sans. I had to stop patching them due to the fact that if I did so one at a time and rebooted and allowed them to completely heal before patching and rebooting the next would 100% cause a similar issue.
Glusterfs v3.12.11-1 is running on all 7 hv in the ovirt cloud.
# gluster volume info gv1
Volume Name: gv1
Type: Replicate
Volume ID: ea12f72d-a228-43ba-a360-4477cada292a
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: 10.4.16.19:/glusterfs/data1/gv1
Brick2: 10.4.16.11:/glusterfs/data1/gv1
Brick3: 10.4.16.12:/glusterfs/data1/gv1
Options Reconfigured:
network.ping-timeout: 50
nfs.register-with-portmap: on
nfs.export-volumes: on
nfs.addr-namelookup: off
cluster.server-quorum-type: server
cluster.quorum-type: auto
network.remote-dio: enable
cluster.eager-lock: enable
performance.stat-prefetch: off
performance.io-cache: off
performance.read-ahead: off
performance.quick-read: off
storage.owner-uid: 36
storage.owner-gid: 36
server.allow-insecure: on
nfs.disable: off
nfs.rpc-auth-allow: 10.4.16.*
auth.allow: 10.4.16.*
cluster.self-heal-daemon: enable
diagnostics.latency-measurement: on
diagnostics.count-fop-hits: on
cluster.server-quorum-ratio: 51%
We have another exportb gluster volume and it's cofigured similarly but since it's not used for much it's not running into this issue.
Edward Clay
Systems Administrator
The Hut Group<http://www.thehutgroup.com/>
Tel:
Email: edward.clay at uk2group.com<mailto:edward.clay at uk2group.com>
For the purposes of this email, the "company" means The Hut Group Limited, a company registered in England and Wales (company number 6539496) whose registered office is at Fifth Floor, Voyager House, Chicago Avenue, Manchester Airport, M90 3DQ and/or any of its respective subsidiaries.
Confidentiality Notice
This e-mail is confidential and intended for the use of the named recipient only. If you are not the intended recipient please notify us by telephone immediately on +44(0)1606 811888 or return it to us by e-mail. Please then delete it from your system and note that any use, dissemination, forwarding, printing or copying is strictly prohibited. Any views or opinions are solely those of the author and do not necessarily represent those of the company.
Encryptions and Viruses
Please note that this e-mail and any attachments have not been encrypted. They may therefore be liable to be compromised. Please also note that it is your responsibility to scan this e-mail and any attachments for viruses. We do not, to the extent permitted by law, accept any liability (whether in contract, negligence or otherwise) for any virus infection and/or external compromise of security and/or confidentiality in relation to transmissions sent by e-mail.
Monitoring
Activity and use of the company's systems is monitored to secure its effective use and operation and for other lawful business purposes. Communications using these systems will also be monitored and may be recorded to secure effective use and operation and for other lawful business purposes.
hgvyjuv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180712/d543412a/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: il-san3-07112018.txt
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180712/d543412a/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: il-san2-07112018.txt
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180712/d543412a/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: il-san1-07112018.txt
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180712/d543412a/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hv3-07112018.txt
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180712/d543412a/attachment-0003.txt>
More information about the Gluster-users
mailing list