This issue occurs during a VCF 9.0 to 9.1 upgrade with the following warnings:
If your SDDC Manager, Fleet lifecycle, SDDC lifecycle, and VCF Operations are all at version 9.1.0.0300 or newer, review this section.
After "Deploy VCF Management Component" workflow completes, if one of the components in your VCF 9.0 deployment (such as VCF Automation) could not be add to Fleet lifecycle, you will see the following information.
If your SDDC Manager, Fleet lifecycle, SDDC lifecycle, and VCF Operations running versions before 9.1.0.0300, review this section.
After "Deploy VCF Management Component" workflow completes, it will be in a Failed state as shown below.
VCF Operations 9.1
The import step fails for one or more of the following reasons:
All conditions produce the same symptom. The failed task cannot be retried directly until the invalid data is cleared from VCF Operations.
To resolve failures during the "Deploy VCF Management Components" task in a VCF 9.0 to 9.1 upgrade, you must use the attached script to clear invalid metadata and import 9.0 components.
Access required:
Credentials required:
| Credentials | Default Username | Purpose |
| SDDC Manager admin password | administrator@vsphere.local
| Retrieving component FQDNs |
| VCF Services Runtime password | admin@vsp.local | Acquiring Fleet lifecycle API JWT |
| VCF Operations admin password | admin | Discover existing 9.0 components |
| VCF Automation password | vmware-system-user | Option 2 import |
| VCF Operations for networks password | admin@local | Option 2 import |
| Identity Broker password | vmware-system-user | Option 2 import |
| Log management password | admin | Option 2 import |
What the Script Does:
To resolve the issue, use the attached script. The script runs interactively and guides you through two options. Only run the option(s) that apply to your version as identified below:
Only run the option(s) that apply to your version as identified below:
| Symptom | Option |
| Deploy VCF Management Components task completed with warnings | Option 2 only |
| Deploy VCF Management Components task failed | Option 1, then Option 2 |
Note: A timestamped log file is written automatically to:/var/log/vmware/vcf/vcf_remediation_backups/remediation_YYYYMMDD_HHMMSS.log
Option 1 — Clear stale data and restart the deploy task
Run this first when the "Deploy VCF Management Components" task is in a FAILED state.
Option 2 — Manually import missing 9.0 components
Run this if Option 1 is complete (or not needed) and if any 9.0 components are still missing from Fleet.
Note: All steps in this KB must be performed from the SDDC Manager appliance as root.
remediate_deploy_mgmt_components.py script attached to this KB./home/vcf/ directory on the SDDC Manager appliance:vcf user and then elevate to root with su.python /home/vcf/remediate_deploy_mgmt_components.py/var/log/vmware/vcf/vcf_remediation_backups/remediation_YYYYMMDD_HHMMSS.log)