After restarting the SDDC Manager VM, back-end services are stuck in activating state. Postgres instance is running but the services are not able to authenticate with the DB.
journalctl logs show that the db password encryption method is unsupported
MONTH HR:MIN:SEC xxxxx000sd0001.xxx.xxx.xx bash[60396]: ERROR: password encryption failed: unsupportedMONTH HR:MIN:SEC xxxx000sd0001.xxx.xxx.xx bash[60397]: ERROR: password encryption failed: unsupported
VCF 5.2.1 and above if using older STIG hardening rules.
psql --versionpsql -U postgres -h localhostshow password_encryption;postgres=# show password_encryption;password_encryption---------------------md5(1 row)
Resolution:
cat /data/pgdata/postgresql.auto.conf# Do not edit this file manually!# It will be overwritten by the ALTER SYSTEM command.password_encryption = 'md5'log_statement = 'ddl'vi /data/pgdata/postgresql.auto.confsystemctl restart postgres