Skip to main content
NetApp Knowledge Base

CAIQUM-8859: AIQUM acquisition via REST fails triggering DuplicateKeyException cascade and REST errors across all clusters

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

Issue

  • AIQUM acquistion via REST with cloud agent enabled fails with DuplicateKeyException
  • Performance graphs display flat lines — no new performance data is collected.
  • ocumserver.log:

ERROR [oncommand]org.springframework.jms.listener.DefaultMessageListenerContainer#1-1 [c.n.i.s.r.dao.AcquisitionInfoDao] Data Acquistion Save exception: org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL [INSERT INTO opm.acquisition_info (time,success,clusterId,analysisDuration,collectionDuration,msgRcvTime,isHistorical) VALUES (?,?,?,?,?,?,?)]; (conn=41092) Duplicate entry '1763639667703-47135' for key 'acquisition_info.PRIMARY'; nested exception is java.sql.SQLIntegrityConstraintViolationException: (conn=41092) Duplicate entry '1763639667703-47135' for key 'acquisition_info.PRIMARY' [...]
Caused by: java.sql.SQLIntegrityConstraintViolationException: (conn=41092) Duplicate entry '1763639667703-47135' for key 'acquisition_info.PRIMARY' [...]
Caused by: org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException: Duplicate entry '1763639667703-47135' for key 'acquisition_info.PRIMARY' [...]
Caused by: java.sql.SQLException: Duplicate entry '1763639667703-47135' for key 'acquisition_info.PRIMARY' [...]

  • Additional DuplicateKeyException errors may appear for other tables including netapp_performance.update_history and multiple sample_* tables
  • au.log shows a high rate of HTTP 500 errors from the server

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.