Skip to main content
NetApp Knowledge Base

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

Views:
395
Visibility:
Public
Votes:
1
Category:
active-iq-unified-manager
Specialty:
OM
Last Updated:

Issue

  • Active IQ Unified Manager (AIQUM) cluster collections fail when Cloud Agent collection is enabled.
  • AIQUM acquisition through Representational State Transfer (REST) with Cloud Agent enabled fails with DuplicateKeyException.
  • Performance graphs display flat lines; no new performance data is collected.
  • The Acquisition Unit (AU) log (au.log) shows a high rate of HTTP 500 errors from the server.
  • ocumserver.log includes:

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' [...]

  • A timestamped DuplicateKeyException entry can also appear in ocumserver.log:

2025-11-20 07:56:11,503 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' [...]

[Cannot invoke "com.onaro.sanscreen.acquisition.netappschema.netappdata.Volume.setHardwareEncrypted(java.lang.Boolean)" because "flexgroup" is null]
  • Additional DuplicateKeyException errors may appear for other tables, including netapp_performance.update_history and multiple sample_* tables.

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.