YYYY-MM-DDTHH:MM:SS.466Z ERROR
YYYY-MM-DDTHH:MM:SS.466Z INFO upgrade.states.component_states rbd:CollectRequirements: Traceback (most recent call last) :
YYYY-MM-DDTHH:MM:SS.466Z INFO upgrade.states.component_states rbd:CollectRequirements:
YYYY-MM-DDTHH:MM:SS.466Z INFO upgrade.states.component_states rbd:CollectRequirements:
dbConnection = sqlite3.connect (_getSourceDbPath () )
YYYY-MM-DDTHH:MM:SS.466Z INFO upgrade.states.component_states rbd:CollectRequirements: sqlite3.OperationalError: unable to open database file
YYYY-MM-DDTHH:MM:SS.466Z INFO upgrade.states.component_states rbd:CollectRequirements:
YYYY-MM-DDTHH:MM:SS.466Z ERROR prepare the upgrade spec during the collectRequirement phase for autodeploy
VMware vCenter Server 9.x
The upgrade installer is unable to read the Auto Deploy configuration because a corrupted or empty (0-byte) SQLite database file exists in the /var/lib/rbd directory on the source vCenter Server Appliance.
To resolve this issue, remove the corrupted database file to allow the upgrade to proceed:
NOTE: Please ensure relevant snapshot and backups are in place before proceeding.
Log in to the source vCenter Server Appliance via SSH as root.
Navigate to the Auto Deploy directory: cd /var/lib/rbd
List the files to identify any 0-byte or corrupted database files: ls -lh
Remove the problematic database file: rm <FILENAME>
Restart the vCenter Server upgrade process.