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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content