During an upgrade to VMware Cloud Foundation (VCF) 9.1, the upgrade may fail during the Import VCF Operations in Fleet Lifecycle task. This issue blocks the registration of management components and prevents the upgrade from proceeding.
The Fleet lifecycle 'Component import' task with ID <TASK_ID> failed. Internal errors: Unable to register components with VCF Operations. Body: {"type":"Error","message":"The provided username/password or token is not valid. Please try again.","httpStatusCode":401,"apiErrorCode":401} Provided SSL thumbprint '<OLD_THUMBPRINT>' does not match the certificate's thumbprint '<NEW_THUMBPRINT>'.VMware Cloud Foundation 9.1.0.0
Upgrading from VCF 9.0.1 to 9.1.
This is likely caused by a stale SSL thumbprint or expired certificate anchor stored in the SDDC Manager internal vault. When the sddc-build-service attempts to authenticate with the VCF Operations appliance using the stored (stale) thumbprint, the connection is rejected, resulting in an HTTP 401 Unauthorized error.
To resolve this issue, you must manually update the SSL thumbprint and certificate fields in the SDDC Manager internal Vault to match the current VCF Operations certificate.
6dccc949-5dc6-477b-9c48-c3d73e9597f9).Extract the Current Workflow Specification SSH into the SDDC Manager and elevate to root. Use the following command to retrieve the current JSON specification from the Vault:
curl -k -s http://localhost/domainmanager/internal/vault/<EXECUTION_ID> -X GET | jq . > /tmp/workflow.jsonRetrieve the Current SSL Thumbprint Obtain the correct SHA-256 thumbprint from the active VCF Operations appliance:
openssl s_client -connect <vcf_ops_fqdn>:443 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -sha256Update the JSON Specification Edit /tmp/workflow.json and locate the vcfOperationsSpec and vcfOperationsCollectorSpec sections. Update the following fields with the current thumbprint and certificate information:
sslThumbprintcertificatePush the Corrected Specification to the Vault Upload the modified JSON file back to the SDDC Manager Vault:
curl -k -s http://localhost/domainmanager/internal/vault/<EXECUTION_ID> -X PUT -H "Content-type: text/plain" -d @/tmp/workflow.jsonRestart SDDC Manager Services Restart the services to ensure the new trust anchor is utilized:
systemctl restart operations-managerRetry the Failed Task In the SDDC Manager UI, navigate to the failed task and click Retry.