goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.12k stars 4.76k forks source link

Harbor upgrade failed while upgrading VIC OVA 1.4.0 to 1.4.1RC2 #5218

Closed lgayatri closed 6 years ago

lgayatri commented 6 years ago

@renmaosheng @hickeng @zjs @luguang

Builds used :

1.4.0 GA - https://storage.googleapis.com/vic-product-ova-releases/vic-v1.4.0-4944-f168720a.ova 1.4.1 RC2 - https://storage.googleapis.com/vic-product-ova-releases/vic-v1.4.1-rc2-5496-f2fdac75.ova OVA has been upgraded from 1.4.0 to 1.4.1 using https://vmware.github.io/vic-product/assets/files/html/1.4/vic_vsphere_admin/upgrade_appliance.html

/var/ upgrade.log log/vmware/upgrade.log is attached

...
Getting password from harbor.cfg
2018-06-29 14:21:24 [=] Performing pre-upgrade checks
2018-06-29 14:21:24 [=] Starting Harbor upgrade
2018-06-29 14:21:24 [=] [=] Shutting down Harbor
2018-06-29 14:21:26 [=] [=] Migrating Harbor configuration and data
2018-06-29 14:21:26 [=] Testing database credentials...
Trying to start mysql server...
Waiting for MySQL start...
2018-06-29 14:21:28 140737353451456 [Note] mysqld (mysqld 10.2.14-MariaDB) starting as process 8 ...
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Uses event mutexes
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Number of pools: 1
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Using SSE2 crc32 instructions
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Completed initialization of buffer pool
2018-06-29 14:21:28 140736431363840 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: The first innodb_system data file 'ibdata1' did not exist. A new tablespace will be created!
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Setting file './ibdata1' size to 12 MB. Physically writing the file full; Please wait ...
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: File './ibdata1' size is now 12 MB.
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Setting log file ./ib_logfile101 size to 50331648 bytes
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Setting log file ./ib_logfile1 size to 50331648 bytes
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: New log files created, LSN=45790
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Doublewrite buffer not found: creating new
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Doublewrite buffer created
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: 128 out of 128 rollback segments are active.
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Creating foreign key constraint system tables.
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Creating tablespace and datafile system tables.
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Creating sys_virtual system tables.
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Creating shared tablespace for temporary tables
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: Waiting for purge to start
2018-06-29 14:21:28 140737353451456 [Note] InnoDB: 5.7.21 started; log sequence number 0
2018-06-29 14:21:28 140737353451456 [Note] Plugin 'FEEDBACK' is disabled.
2018-06-29 14:21:28 140737353451456 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2018-06-29 14:21:28 140737353451456 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2018-06-29 14:21:28 140737353451456 [Note] Server socket created on IP: '::'.
2018-06-29 14:21:28 140737353451456 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
timeout. Can't run mysql server.
DB test failed.
Fail to validate: please make sure your DB auth is correct.
2018-06-29 14:22:29 [=]
2018-06-29 14:22:29 [=] -------------------------
2018-06-29 14:22:29 [=] Upgrade failed.
2018-06-29 14:22:29 [=] Please save /var/log/vmware/upgrade.log and contact VMware support.
2018-06-29 14:22:29 [=] -------------------------
2018-06-29 14:22:29 [=]
hickeng commented 6 years ago

Issue moved to vmware/vic-product #1868 via ZenHub