This issue occurs during a VCF 9.0 to 9.1 upgrade with the following warnings:
After "Deploy VCF Management Component" workflow completes, if one of the components in VCF 9.0 deployment (such as VCF Automation) could not be add to Fleet lifecycle, one or more of the following information is seen.
Some components are blocked from being upgraded to 9.1 because they failed to be added to Fleet Lifecycle. GO TO VCF MANAGEMENT"Action Required: Fleet Lifecycle task(s) failedSymptom:The Critical symptom Some components are blocked from being upgraded to 9.1 because they failed to be added to Fleet Lifecycle. has been observed on vcf-fleet-lcm
Main Warning Box:1 warningmgmt: The following components are blocked from being upgraded to 9.1 because they failed to be added to fleet lifecycle. Click each component to view the error and remediation information.• VCF Operations for networks• Log management
An unexpected error occurred in step discover_vrni_component_task_ref. Reference Code: 127B3D16. Please contact support with this reference code. Detail: I/O error on POST request for "https://[redacted]:443/api/auth/login": Certificate for <[redacted]> doesn't match any of the subject alternative names: []
After "Deploy VCF Management Component" workflow completes, it will be in a Failed state as shown below.
Deploy VCF Management Components the Task Status column shows FailedImport VCF Operations in Fleet Lifecycle subtask Task Status column shows FailedVCF 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, the attached script must be used to clear invalid metadata and import 9.0 components.
Access required:
Credentials required:
| Credentials | Default Username | Purpose |
| SDDC Manager admin password |
| Retrieving component FQDNs |
| VCF Services Runtime password | [email protected] | 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 provides guidance through two options. Only run the option(s) that apply to the version as identified below:
Only run the option(s) that apply to the 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
Run this first when the "Deploy VCF Management Components" task is in a FAILED state.
Notes:
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)** If after performing Option 2 and the upgrade task is still failing for the Log Management component and there currently is a VCF Operations for Logs 9.0.2 cluster appliance installed, the appliance is likely in a down state due to a certificate mismatch between appliance nodes. A recent upgrade to 9.0.2 might have caused this.
See VCF Operations for Logs UI is not available after upgrade to 9.0.2