/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh スクリプトを使用して手動でサービスを開始しようとすると、サービスの起動に失敗します。systemctl status postgres で確認すると、postgres サービスは「stopped(停止)」状態になっています。systemctl start postgres で postgres サービスを手動で開始しようとすると、以下のエラーが発生します。"psql: error: connection to server at "localhost" (127.0.0.1), port 5432 failed: fe_sendauth: error sending password authentication"journalctl -xe のログには、以下のようにユーザー postgres のパスワードの有効期限切れが記録されます。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:postgresVCF 5.x
SDDC Manager の /data パーティションが、アップグレード前に満杯だったため、アップグレードに失敗しました。これは、sddc_manager_ui データベースのsessionsテーブルによるSDDC Manager /data partition filling up to 100% frequentlyに起因しており、アップグレードプロセスで必要なファイルを移動するための十分なバッファが確保できませんでした。その結果、アップグレード操作中にパーティションが 100% の容量に達し、postgres サービスの起動失敗を引き起こしました。
この問題を解決するには、以下の手順を実行します。