Skip to main content
NetApp Knowledge Base

cluster acquistion taking longtime and intermittently polling in "failed" state

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

Applies to

Active IQ Unified Manager 9.12(AIQUM) virtual applicance

Issue

  • ONTAP Cluster acquistion taking longtime and intermittent cluster polling status shows "failed"
  • Error in ocumserver.log can be found for cluster
ERROR [oncommand] [reconciliation-0] [<cluster>(baseline@04:00:00.001)] [c.n.dfm.collector.OcieJmsListener] Inventory change listener error
org.springframework.dao.PessimisticLockingFailureException: could not execute batch; SQL [update Event set acknowledgedBy=?, acknowledgedTimestamp=?, assignedTimestamp=?, assignedTo=?, cluster_id=?, clusterNode_id=?, encodedArguments=?, impactArea=?, isChecked=?, isContinuous=?, lastObservedTime=?, maintenance=?, notesCount=?, objVersion=?, obsoleteCause=?, obsoleteCauseEncodedArguments=?, obsoleteCauseEvent_id=?, obsoleteCauseValue_id=?, obsoleteTimestamp=?, resolvedBy=?, resolvedTimestamp=?, source_id=?, source_type=?, source_fullName=?, source_resourceKey=?, source_resourceType=?, state=?, subType=?, targetId=?, targetType=?, thresholdPolicyId=?, eventTimestamp=?, uuid=?, value_id=?, vserver_id=? where id=? and objVersion=?]; nested exception is org.hibernate.PessimisticLockException: could not execute batch
    at deployment.dfm-app.war//org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:207)
    at deployment.dfm-app.war//org.springframework.orm.hibernate5.SessionFactoryUtils.flush(SessionFactoryUtils.java:120)
Caused by: org.hibernate.PessimisticLockException: could not execute batch
    at deployment.dfm-app.war//org.hibernate.dialect.MySQLDialect$3.convert(MySQLDialect.java:547)
    at deployment.dfm-app.war//org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37)
    ... 15 common frames omitted
Caused by: java.sql.BatchUpdateException: (conn=43296) Lock wait timeout exceeded; try restarting transaction
    at org.mariadb//org.mariadb.jdbc.MariaDbStatement.executeBatchExceptionEpilogue(MariaDbStatement.java:323)
    at org.mariadb//org.mariadb.jdbc.ClientSidePreparedStatement.executeBatch(ClientSidePreparedStatement.java:301)
    at deployment.dfm-app.war//com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:131)
    at deployment.dfm-app.war//com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java)
    at deployment.dfm-app.war//org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:125)
    ... 28 common frames omitted
Caused by: java.sql.SQLTransientConnectionException: (conn=43296) Lock wait timeout exceeded; try restarting transaction
    at org.mariadb//org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:79)
    at org.mariadb//org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:153)
    at org.mariadb//org.mariadb.jdbc.MariaDbStatement.executeBatchExceptionEpilogue(MariaDbStatement.java:319)
    ... 32 common frames omitted

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.