When attempting to deploy VCF Management Components during upgrade to VMware Cloud Foundation 9.1, the task fails and the user interface does not allow for a retry. The following can be observed:
/var/log/vmware/vcf/domainmanager/domainmanager.log of SDDC Manager below messages can be found:Fetched executionContextName VCF_MANAGEMENT_COMPONENTS_DEPLOY_DESCRIPTION for executionId <execution ID>......End of Orchestration with FAILURE for Execution ID <execution ID>VMware Cloud Foundation 9.1
Below steps need to be executed from SDDC Manager to restore the system to a state where VCF Management Components can be re-deployed.
Before proceeding with database modifications, it is recommended to take a snapshot of the SDDC Manager appliance.
vcf user credentials. Switch to the root user with "su -".execution ID> in the final command with the actual ID discovered in domainmanager.log.psql -U postgres -h localhost -d platform -c "delete from vcf_management_component where component_type = 'FLEET_LCM';"psql -U postgres -h localhost -d platform -c "delete from vcf_management_component where component_type = 'SDDC_LCM';"psql -U postgres -h localhost -d platform -c "delete from vcf_management_component where component_type = 'VSP';"psql -U postgres -h localhost -d platform -c "delete from vsp_cluster;"psql -U postgres -h localhost -d platform -c "delete from task_metadata where id='<execution ID>';"
systemctl restart commonsvcs