Issue with MongoDB Management Pack on Aria Operations 8.18.4/5 - After "validating the connection" the error "All provided hosts (<IP_Address>) are not responding. Cluster cannot be monitored at this time
search cancel

Issue with MongoDB Management Pack on Aria Operations 8.18.4/5 - After "validating the connection" the error "All provided hosts (<IP_Address>) are not responding. Cluster cannot be monitored at this time

book

Article ID: 420062

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Issue with MongoDB Management Pack on Aria Operations 8.18.4/5
Mgmt Pack has just been installed
Shows error  - After "validating the connection" the error "All provided hosts (<IP_Address>) are not responding. Cluster cannot be monitored at this time
 

Environment

Aria Operations 8.X+

Cause

Error indicates a communication/connection problem

issue seen in the Management Pack log/adapters/MongoDBAdapter/MongoDBAdapter_######.log
 
This indicates a connection problem.
 
3 main highlights from MongoDBAdapter.log
 
* ERROR [Collector worker thread 8] (59767) com.bluemedora.exuno.DataProvider.error - com.bluemedora.mongo.mongodb.MongoDBCollector$Companion: All provided hosts (<IP_Address>) are not responding. Cluster cannot be monitored at this time.
 
* HOST IS DOWN: Mongo_DB_FQDN:27017 - No route to host (Host unreachable)
 
* Create Client Test
      Type:       create_client_test
      Result:     Failed
      Message:    All provided hosts (<IP_Address>) are not responding. Cluster cannot be monitored at this time.
 
 
YYYY-MM-DDTHH:MM:SS.sssZ ERROR [Collector worker thread 8] (59767) com.bluemedora.exuno.DataProvider.error - com.bluemedora.mongo.mongodb.MongoDBCollector$Companion: All provided hosts (<IP_Address>) are not responding. Cluster cannot be monitored at this time.
YYYY-MM-DDTHH:MM:SS.sssZ ERROR [Collector worker thread 8] (59767) com.bluemedora.exuno.DataProvider.error - com.bluemedora.exuno.DataProvider: Caught an exception while collecting: null
YYYY-MM-DDTHH:MM:SS.sssZ ERROR [Collector worker thread 8] (59767) com.bluemedora.exuno.DataProvider.error - com.bluemedora.exuno.DataProvider: Diagnosing connection problem
YYYY-MM-DDTHH:MM:SS.sssZ WARN  [Collector worker thread 8] (59767) com.bluemedora.exuno.DataProvider.warn - com.bluemedora.mongo.mongodb.util.MongoDBClient$Companion: HOST IS DOWN: Mongo_DB_FQDN:27017 - No route to host (Host unreachable)
java.net.NoRouteToHostException: No route to host (Host unreachable)
YYYY-MM-DDTHH:MM:SS.sssZ ERROR [Collector worker thread 8] (59767) com.bluemedora.exuno.DataProvider.error - com.bluemedora.mongo.mongodb.MongoDBTester$Companion: All provided hosts (<IP_Address>) are not responding. Cluster cannot be monitored at this time.
YYYY-MM-DDTHH:MM:SS.sssZ ERROR [Collector worker thread 8] (59767) com.bluemedora.exuno.DataProvider.error - com.bluemedora.exuno.DataProvider: Diagnostic Result:
 
-------------------------------
--- Test Connection Result ---
------------------------------
  Overall Result: *** Failed! ***
  --- Critical Tests ---
'host' is valid
  Type:       host
  Result:     Passed
  Message:    'host' is valid.
 
'connecting_to' is valid
  Type:       connecting_to
  Result:     Passed
  Message:    'connecting_to' is valid.
 
'validate_certificate_against_truststore' is valid
  Type:       validate_certificate_against_truststore
  Result:     Passed
  Message:    'validate_certificate_against_truststore' is valid.
 
'ssl_mongos' is valid
  Type:       ssl_mongos
  Result:     Passed
  Message:    'ssl_mongos' is valid.
 
'auth_mongos' is valid
  Type:       auth_mongos
  Result:     Passed
  Message:    'auth_mongos' is valid.
 
'username_mongos' is valid
  Type:       username_mongos
  Result:     Passed
  Message:    'username_mongos' is valid.
 
'password_mongos' is valid
  Type:       password_mongos
  Result:     Passed
  Message:    'password_mongos' is valid.
 
'ssl_mongod' is valid
  Type:       ssl_mongod
  Result:     Passed
  Message:    'ssl_mongod' is valid.
 
'auth_mongod' is valid
  Type:       auth_mongod
  Result:     Passed
  Message:    'auth_mongod' is valid.
 
'username_mongod' is valid
  Type:       username_mongod
  Result:     Passed
  Message:    'username_mongod' is valid.
 
'password_mongod' is valid
  Type:       password_mongod
  Result:     Passed
  Message:    'password_mongod' is valid.
 
'connection_timeout' is valid
  Type:       connection_timeout
  Result:     Passed
  Message:    'connection_timeout' is valid.
 
'server_selection_timeout' is valid
  Type:       server_selection_timeout
  Result:     Passed
  Message:    'server_selection_timeout' is valid.
 
Create Client Test
  Type:       create_client_test
  Result:     Failed
  Message:    All provided hosts (<IP_Address>) are not responding. Cluster cannot be monitored at this time.
 
YYYY-MM-DDTHH:MM:SS.sssZ ERROR [Collector worker thread 8] (59767) com.bluemedora.vrealize.adapter.mongodb.CollectionResultCache.getResult - Error performing collection: Caught an exception while collecting: null
YYYY-MM-DDTHH:MM:SS.sssZ ERROR [Collector worker thread 8] (59767) com.vmware.tvs.vrealize.adapter.core.UnlicensedAdapter.onCollect - Encountered a CollectionException during live collection.

Resolution

Log entries above indicated a communication issue.
This issue was resolved on reviewing Firewall settings for the environment
Confirmed that the management pack is now working after configuring the bind IP and firewall rule on the MongoDB VM