Active IQ Unified Manager Metrocluster monitoring fails due to bridge discovery
Applies to
- Active IQ Unified Manager 9.7
- Stretch Metrocluster system
Issue
One or more Metrocluster clusters are failing constantly and monitoring status remains on 'Failed'
error in au.log
INFO [oncommand] [collection-completion-0] [c.n.d.i.m.MccFabricConfigDiscoveryHandler] MetroCluster discovery started for clustername
ERROR [oncommand] [collection-completion-0] [c.n.d.i.m.MccFabricConfigDiscoveryHandler] MetroCluster monitoring failed for clustername
error in ocumserver.log
2020-04-07 08:16:17,963 ERROR [oncommand] [reconcile-3] [trtnas02mp(incremental@08:16:15.965)] [c.n.dfm.collector.OcieJmsListener] Inventory change listener error
com.netapp.dfm.ontap.outbound.zapi.OcumMonitoringFailedException: could not execute batch
Caused by: org.hibernate.exception.ConstraintViolationException: could not execute batch...
Caused by: java.sql.BatchUpdateException: (conn=673) Duplicate entry '16069-2131000011' for key 'nodebridgeconnection.NodeBridgeConnection_NodeId_BridgeId_UQ'...
Caused by: java.sql.SQLIntegrityConstraintViolationException: (conn=673) Duplicate entry '16069-2131000011' for key 'nodebridgeconnection.NodeBridgeConnection_NodeId_BridgeId_UQ'
...
Caused by: java.sql.SQLException: Duplicate entry '16069-2131000011' for key 'nodebridgeconnection.NodeBridgeConnection_NodeId_BridgeId_UQ'
Followed by
2020-04-07 08:16:17,963 ERROR [oncommand] [reconcile-3] [trtnas02mp(incremental@08:16:15.965)] [c.n.dfm.collector.OcieJmsListener] Inventory change listener error
org.springframework.dao.DataIntegrityViolationException: could not execute batch; SQL [insert into NodeBridgeConnection (resourceKey, objVersion, objectName, healthStatus, bridge_id, cluster_id, node_id, id) values (?, ?, ?, ?, ?, ?, ?, ?)]; constraint [nodebridgeconnection.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch
Note: Unified Manager log file location