Skip to main content
NetApp Knowledge Base

Performance data migration to Unified Manager fails due to missing table partitions

Views:
199
Visibility:
Public
Votes:
0
Category:
oncommand-unified-manager
Specialty:
om
Last Updated:

Applies to

  • OnCommand Unified manager 7.2
  • OnCommand Performance manager 7.1

Issue

After starting the migration procedure as per documentation it fails without displaying any error message.

 

  • The following errors are to be found in the migration log file from OnCommand Unified Manager :

PARTITION null VALUES LESS THAN (0) ): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null INTO ( PARTITION p0 VALUES LESS THAN (-2678400000),
PARTITION p1 VALUES LE' at line 1
2017-06-28 08:32:23,717 ERROR [main] c.n.d.u.m.i.PerformanceTableMigrationService (PerformanceTableMigrationService.java:109) - Migrating data from sample_qos_volume_workload table(s) Failed. org.mariadb.jdbc.internal.common.QueryException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null INTO ( PARTITION p0 VALUES LESS THAN (-2678400000),

PARTITION null VALUES LESS THAN (0) ): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null INTO ( PARTITION p0 VALUES LESS THAN (-2678400000),
PARTITION p1 VALUES LE' at line 1
2017-06-28 09:19:50,577 ERROR [main] c.n.d.u.m.i.PerformanceTableMigrationService (PerformanceTableMigrationService.java:109) - Migrating data from sample_qos_workload_detail table(s) Failed. org.mariadb.jdbc.internal.common.QueryExceptio
2017-06-28 09:30:47,862 INFO [main] c.n.d.u.m.i.MigrationStatusService (MigrationStatusService.java:327) - There is no cluster in scheduled status. Not starting the migration process.

 

  • In addition to the above the following messages *may* be present in the jboss server log file :
     

2017-06-29 00:08:17,435 WARN [org.mariadb.jdbc.internal.mysql.MySQLProtocol] (EJB default - 30) Could not execute query sql : 'INSERT INTO netapp_performance.sample_volume_7599 (objid, time, empty, avgLatency,
cifsOtherLatency, cifsOtherOps, cifsReadData, cifsReadLatency, cifsReadOps, cifsWriteData, cifsWriteLatency, cifsWriteOps, fcpOtherLatency, fcpOtherOps, fcpReadData, fcpReadLatency, fcpReadOps, fcpWriteData,
fcpWriteLatency, fcpWriteOps, iscsiOtherLatency, iscsiOtherOps, iscsiReadData, iscsiReadLatency, iscsiReadOps, iscsiWriteData, iscsiWriteLatency, iscsiWriteOps, nfsOtherLatency, nfsOtherOps, nfsReadData,
nfsReadLatency, nfsReadOps, nfsWriteData, nfsWriteLatency, nfsWriteOps, otherLatency, otherOps, readData, readLatency, readOps, sanOtherLatency, sanOtherOps, sanReadData, sanReadLatency, sanReadOps, sanWriteData,
sanWriteLatency, sanWriteOps, totalOps, writeData, writeLatency, writeOps, OpmVolNfsOps, OpmVolCifsOps, OpmVolIscsiOps, OpmVolFcpOps) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', parameters : [7630,1498691075712,0,23.847457885742188,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,
0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0. 0 ,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,23.847457885742188,0.1966666728258133,0.0,0.0,0.0,NULL,NULL,0.0,NULL,NULL,0.0,NULL,NULL,0.19666 66728258133,0.0,0.0,0.
0,0.0,0.0,0.0,0.0]: Table has no partition for value 1498691075712

 

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.
Scan to view the article on your device