vCenter RDU upgrade fails with "checksum verification failed" on VCDB _fsm files
search cancel

vCenter RDU upgrade fails with "checksum verification failed" on VCDB _fsm files

book

Article ID: 463694

calendar_today

Updated On:

Products

VMware vSphere ESX 8.x VMware SDDC Manager / VCF Installer VMware Cloud Foundation

Issue/Introduction

The vCenter Server upgrade (RDU) from VCF Operations fails because RDU finds checksum failures on VCDB _fsm files during the base backup of the vCenter database.

The /var/log/vmware/vpostgres/postgresql.log file on the source vCenter shows entries similar to:

WARNING: page verification failed, calculated checksum ##### but expected ##### WARNING: invalid page in block # of relation base/<vcdb_oid>/<file_number>_fsm; zeroing out page

The same log shows repeated unclean shutdowns of the database:

LOG: database system was not properly shut down; automatic recovery in progress

Environment

VMware Cloud Foundation 9.1.x (upgrade from VCF 5.2.x)
VMware vCenter Server 8.0.3

Cause

The vCenter database (VCDB) has been restarted uncleanly many times, for example after VM power loss or snapshot reverts. This corrupted the free space map (FSM) files of some VCDB tables.

PostgreSQL mostly tolerates FSM errors. It zeroes the bad pages in memory only, so the errors don't visibly break anything at runtime, and the corruption can stay in place for months.

During RDU, a base backup (pg_basebackup) of VCDB is taken. The base backup verifies the checksum of every block and aborts on failure. RDU treats this failure as fatal, as a precaution, and the upgrade fails.

Resolution

This issue is fixed in VCF 9.1.1 EP1.

If you are unable to upgrade to VCF 9.1.1 EP1 and need a workaround, please open a support case with Broadcom Support.