/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh script results in service start failures. postgres service is in "stopped" state when checked via systemctl status postgressystemctl start postgres with the following error. "psql: error: connection to server at "localhost" (127.0.0.1), port 5432 failed: fe_sendauth: error sending password authentication"
journalctl -xe logs will report, expired password for the user postgres as seen below. MM DD HH:MM:SS sddc-manager.r1.rainpole.local sh[1378]: + su -s /bin/bash postgres -c 'sed -i -e '\''/^host/s/trust$/md5/'\'' /data/pgdata13/pg_hba.conf'MM DD HH:MM:SS sddc-manager.r1.rainpole.local su[2067]: pam_unix(su:account): expired password for user postgres (password aged)MM DD HH:MM:SS sddc-manager.r1.rainpole.local su[2067]: Successful su for postgres by rootMM DD HH:MM:SS sddc-manager.r1.rainpole.local sh[1378]: You are required to change your password immediately (password expired)MM DD HH:MM:SS sddc-manager.r1.rainpole.local sh[1378]: su: Authentication token is no longer valid; new one requiredMM DD HH:MM:SS sddc-manager.r1.rainpole.local su[2067]: pam_unix(su:session): session opened for user postgres by (uid=0)MM DD HH:MM:SS sddc-manager.r1.rainpole.local sh[1378]: (Ignored)MM DD HH:MM:SS sddc-manager.r1.rainpole.local su[2067]: + ??? root:postgres
VCF 5.x
The upgrade failed because the SDDC Manager's /data partition was nearly full or exceeded 25 Gb of consumption prior to the upgrade . This was driven by a known issue causing frequent disk consumption by the sessions tables in sddc_manager_ui database SDDC Manager /data partition filling up to 100% frequently, which left insufficient buffer for the upgrade process to move necessary files. Consequently, the partition reached 100% capacity during the upgrade operation leading to postgres service start failure.
To resolve the issue