To resolve this issue, re-index the affected table.
Important: Prior to running these steps, VMware recommends to take a snapshot of the VCSA. For more information, see
Best practices for using snapshots in the vSphere environment (1025279).
- Log in as root through an SSH or console session on the vCenter Server Appliance.
- Run this command to enable the shell:
shell.set --enabled true
- Access the postgres database by running this command:
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB
- Re-index the affected table by running these commands:
Note: Select the table to be re-indexed from the postgres log error.
reindex index pk_fle_snap_disk_unit;
reindex index vpx_vm_fle_snap_disk_unit_m1;
Quit vPostgres shell with this command: \q
- Start the vmware-vpxd service by running this command:
service-control --start vmware-vpxd