Restore of Active IQ Unified Manager backup fails after downgrading MySQL from 8.0.22 or 8.0.23
Applies to
- Active IQ Unified Manager 9.7 or newer
- Instances that were downgraded from MySQL 8.0.22 or 8.0.23 to 8.0.21.
- Redhat or Centos installations
Issue
- Active IQ Unified Manager database backup was taken when MySQL version was 8.0.22 or 8.0.23. Due to MySQL bugs in 8.0.22 or 8.0.23, it is recommended to roll back the MySQL version to 8.0.21.
- When restoring an Active IQ Unified Manager database backup (taken with 8.0.22/.23) on a newly installed Unified Manager with MySQL version 8.0.21, the following error is encountered.
2021-03-09-16-20-33,931 INFO [Active IQ UM] [restore] [restore.sh] Extracted database dump repository file /opt/netapp/data/ocum-backup/database-dumps-repo/ocum_mysql_full_backup_1615239602511.sql.7z successfully
2021-03-09-16-20-33,938 INFO [Active IQ UM] [restore] [restore.sh] Ordered list of Backup files: /opt/netapp/data/ocum-backup/UMrestore-03-09-2021-16-04-09/UMDatabaseDumpRepo-03-09-2021-16-04-09/ocum_mysql_full_backup_1615239602511.sql
2021-03-09-16-20-33,940 INFO [Active IQ UM] [restore] [restore.sh] Number of Backup files: 1
ERROR 3723 (HY000) at line 540: The table 'replication_asynchronous_connection_failover' may not be created in the reserved tablespace 'mysql'.
2021-03-09-16-20-36,238 ERROR [Active IQ UM] [restore] [restore.sh] Failed to restore the Database dump
2021-03-09-16-20-41,169 INFO [Active IQ UM] [restore] [restore.sh] Deleted temporary files
2021-03-09-16-20-41,171 INFO [Active IQ UM] [restore] [restore.sh] Moving to directory /var/log/ocum
2021-03-09-16-20-41,175 INFO [Active IQ UM] [restore] [restore.sh] Available log file count is 2.
2021-03-09-16-20-41,177 INFO [Active IQ UM] [restore] [restore.sh] No log files will be cleared.
- A similar error message may be seen on '
replication_asynchronous_connection_failover_managed
'