Reviewing the previous Subtask "Perform Component Upgrade" shows "Database backup failed for component vcfa. Please retry the operation or contact support if the issue persists."
reviewing running pods on VCF Automation appliance on prelude namespace 'kubectl -n prelude get pods' shows a failed pod called "vcfa-upgrade-91-patch-pre-postgres-cert-clientauth-#####-execute-script-#########" reviewing the logs ('kubectl -n prelude logs vcfa-upgrade-91-patch-pre-postgres-cert-clientauth-#####-execute-script-#########') shows:
Waiting for cert-manager to regenerate secret vcfapostgres-postgres-cert-secret after adding 'client auth' to vcfapostgres-postgres-cert (resourceVersion=########, expecting it to change from ########) describing the certificate, command: kubectl -n prelude describe certificate vcfapostgres-postgres-cert shows the following Event:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning RequestFailed 3m8s (x2605 over 21h) cert-manager-certificates-request-manager Failed to create CertificateRequest: certificaterequests.cert-manager.io "vcfapostgres-postgres-cert-2" already existsVCF Automation 9.1.1
The upgrade was blocked because the required PostgreSQL (PG) backup failed due to a certificate validation error, which is a known issue stemming from pending certificates in previous releases.
The issue is resolved in the future release. Subscribe to the KB for updates.
Workaround:
kubectl -n prelude get certificaterequests/vcfapostgres-postgres-cert-2 -o yaml > vcfapostgres-postgres-cert-2.yamlkubectl -n prelude delete certificaterequests/vcfapostgres-postgres-cert-2