Performance data migration to Unified Manager fails due to missing table partitions
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