Keywords: MongoDB - Google Cloud Platform - Technical issue - Other
I am using Bitnami certified mongodb with replication in google cloud platform. I have 2 nodes and 1 arbiter, all 3 vm have port 27017 opened with a firewall rule. I can connect to each node from the outside but when I execute an insert I get the following error:
pymongo.errors.ServerSelectionTimeoutError: 10.132.0.8:27017: [Errno 51] Network is unreachable,10.132.0.6:27017: [Errno 51] Network is unreachable,10.132.0.7:27017: [Errno 51] Network is unreachable
10.132.0.8 is the private IP of the arbiter, it seems the 3 nodes can't see each other in the private network. The firewall rule of private traffic is allowing all internal traffic from IP ranges: 10.128.0.0/9.
I am missing something ? It is a brand new deployment and I have not changed any configuration (only added my firewall rule)
Thanks in advance