メインコンテンツへスキップ

AIQUMのキーのエントリが重複しているため、Unified Managerにクラスタを追加できません

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

環境

  • Active IQ Unified Manager(AIQUM)9.x
  • ONTAP 9.x

問題

  • GUIでクラスタを追加する際に次のエラーが発生する。
Unable to add datasource. ERROR:could not execute batch; SQL [insert into DataSource (resourceKey, objVersion, objectName, healthStatus, acquisitionMessage, acquisitionStatus, analysisMessage, analysisStatus, communicationStatus, lastOperationFailureTime, lastOperationSuccessTime, objectResourceKey, operation, operationEndTime, operationStartTime, operationState, pingable, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [datasource.DataSource_objectName_UQ]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch.
 
  • Ocumserver.logでは、次のようにエラーが報告されます。
ERROR [admin] [default task-8] [c.n.o.r.m.e.GlobalExceptionHandler] could not execute batch
org.hibernate.exception.ConstraintViolationException: could not execute batch
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.sql.BatchUpdateException: (conn=20) Duplicate entry 'xx.xx.xx.xx' for key 'datasource.DataSource_objectName_UQ'
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)
... 173 common frames omitted
Caused by: java.sql.SQLIntegrityConstraintViolationException: (conn=20) Duplicate entry 'xx.xx.xx.xx' for key 'datasource.DataSource_objectName_UQ'
at org.mariadb//org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:70)
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)
... 177 common frames omitted
Caused by: org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException: Duplicate entry 'xx.xx.xx.xx' for key 'datasource.DataSource_objectName_UQ'
at org.mariadb//org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException.of(MariaDbSqlException.java:34)

 

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.