[SERVER-24581] HostUnreachable Heartbeat Loop Created: 15/Jun/16  Updated: 15/Nov/21  Resolved: 15/Jun/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.2.7
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Victor Stewart Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 7


Attachments: File data log.rtf     File learn log.rtf     File replica config.rtf     File request log.rtf    
Operating System: ALL
Steps To Reproduce:

Explained above

Participants:

 Description   

I have a replica set of 3 instances of mongod across 3 physically separate servers, all connected on a private network and running RHEL 7. When I create the replicaSet, then add the first additional member, everything is fine. Then I add the 3rd member, and almost immediately after successfully adding to the replicaSet, I get this HostUnreachable Loop. It always happens with the same server as well.

I've tried uninstalling and reinstalling mongo on all 3 servers, and rebooting. I've tried deleting the local databases on all 3. Nothing seems to work. I hope this is just something I've doing wrong so that the fix is quick and easy.

This is the error message on loop:

2016-06-14T23:21:06.435-0500 I REPL [ReplicationExecutor] Error in heartbeat request to request:27017; HostUnreachable: No route to host



 Comments   
Comment by Ramon Fernandez Marina [ 15/Jun/16 ]

victorstewart, if this always happens with the same server that would seem to indicate a problem with name resolution. You may want to try using FQDNs or IP addresses; if using IP addresses solves the problem then clearly the issue is a misconfiguration of your name resolution service.

Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources.

Regards,
Ramón.

Comment by Victor Stewart [ 15/Jun/16 ]

here are logs from each of the three servers

Generated at Thu Feb 08 04:06:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.