This is a known issue affecting vCenter upgrade - e.g., when upgrading from any 6.7 to 6.7 U3 or when upgrading from 6.7 U3 to any 6.7 U3 patch release (e.g. 6.7 U3g).
Fix due in a future release, subscribe to this KB to be updated when the fixed in version is released.
Workaround:
To work around this issue, you must regenerate the missing file via the following procedure:
- Login via SSH to the vCenter Appliance which failed to start vsan-health service after upgrade to 6.7 U3.
- Run the following command to re-generate the missing file .cns_pgpass:
# PYTHONPATH=/usr/lib/vmware-vpx/pyJack/:/usr/lib/vmware/site-packages/ python /usr/lib/vmware-vpx/firstboot/CnsVcConfigure.py
- You should see the following output in the terminal:
YYYY-MM--DDTHH:MM:SS.108Z Configuring DB for CNS service
YYYY-MM--DDTHH:MM:SS.108Z Getting value for install-parameter: vpostgres.int.server_port
YYYY-MM--DDTHH:MM:SS.108Z CNS DB configured successfully.
- Start vsan-health service by running command:
# service-control --start vmware-vsan-health
- Verify the vsan-health service has started.
# service-control --status vsan-health
6. If step 4 doesn't work then reboot vCenter