Facing MongoDB replica set issues after restart IPtables

Solution Verified - Updated -

Issue

  • RHMAP Mbaas : mongodb component replication problem
  • How to solve MongoDB replica set issues into On-Prem?
  • Facing MongoDB replica set issues after restart IPtables

Following an example of this error in the MongoDB logs.

2017-06-14T10:09:16.373+0000 I REPL     [ReplicationExecutor] Error in heartbeat request to mongodb-2.mbaas-rhmap:27017; InvalidReplicaSetConfig: Our replica set configuration is invalid or does not include us
2017-06-14T10:09:16.373+0000 I REPL     [ReplicationExecutor] Error in heartbeat request to mongodb-2.mbaas-rhmap:27017; InvalidReplicaSetConfig: Our replica set configuration is invalid or does not include us
2017-06-14T10:09:16.374+0000 I REPL     [ReplicationExecutor] Error in heartbeat request to mongodb-2.mbaas-rhmap:27017; InvalidReplicaSetConfig: Our replica set configuration is invalid or does not include us

Environment

  • Red Hat Mobile Application Platform (RHMAP) - 4.3
  • OpenShift (OCP)- 3.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.