Skip to main content
NetApp Knowledge Base

AIQUM cluster monitoring state shows failed

Views:
23
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

Applies to

  • Active IQ Unified Manager (AIQUM) 9.13+
  • Windows Server

Issue

  • AIQUM cluster monitoring state shows "failed"
  • Error seen in ocumserver.log
    • 2024-08-01 12:53:43,987 ERROR [oncommand] [reconciliation-6] [10.10.130.56(incremental@13:48:47.640)] [c.n.dfm.collector.OcieJmsListener] Inventory change listener error org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: update SnapMirrorRelationship set lastSuccessfulTransferDuration=?, lastSuccessfulTransferEndTimestamp=?, lastSuccessfulTransferSize=? where id=? and lastSuccessfulTransferDuration=? and lastSuccessfulTransferEndTimestamp=? and lastSuccessfulTransferSize=?; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: update SnapMirrorRelationship set lastSuccessfulTransferDuration=?, lastSuccessfulTransferEndTimestamp=?, lastSuccessfulTransferSize=? where id=? and lastSuccessfulTransferDuration=? and lastSuccessfulTransferEndTimestamp=? and lastSuccessfulTransferSize=?
      at deployment.dfm-app.war//org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:254)
      ....
      Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: update SnapMirrorRelationship set lastSuccessfulTransferDuration=?, lastSuccessfulTransferEndTimestamp=?, lastSuccessfulTransferSize=? where id=? and lastSuccessfulTransferDuration=? and lastSuccessfulTransferEndTimestamp=? and lastSuccessfulTransferSize=?
      at deployment.dfm-app.war//org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:67)
  • Error above shows SnapMirrorRelationship table is the one that is having unexpected result but it doesn't show where, so we have to enable general log in mysql to see where.
  • General query log shows:
    • 2024-09-03T17:08:06.338903Z    14663 Query    update SnapMirrorRelationship set lastSuccessfulTransferDuration=33, lastSuccessfulTransferEndTimestamp='2024-09-03 09:30:33', lastSuccessfulTransferSize=3912360 where id=40285 and lastSuccessfulTransferDuration=8 and lastSuccessfulTransferEndTimestamp='2024-06-19 09:30:08' and lastSuccessfulTransferSize=343705

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.