Action Required: Fleet Lifecycle task(s) failed
Fix the VCF 9.0 to 9.1 Import VCF Operations in Fleet Lifecycle failure: why components fail to import, and the KB 441858 remediation script.
VCF Operations raises the alert Action Required: Fleet Lifecycle task(s) failed during a 9.0 to 9.1 upgrade when some of your 9.0 components could not be handed over to the new Fleet Lifecycle service. Until they are, those components cannot be upgraded to 9.1.
Action Required: Fleet Lifecycle task(s) failedA banner says some components are blocked from being upgraded to 9.1 because they failed to be added to Fleet Lifecycle. Build > Lifecycle > VCF Management > Components lists them, for example VCF Operations for networks and Log management.
Where it appears
Phase 1Where it fails
- VCF Operations to 9.1PAK file
- SDDC Manager to 9.1VCF Operations > Build > Lifecycle
- Deploy VCF Management Components: Import VCF Operations in Fleet LifecycleFails or completes with warnings
- Identity Broker, VCF Automation, the restBlocked until fixed
What you see depends on the version:
- 9.1.0.0300 and newer (SDDC Manager, Fleet lifecycle, SDDC lifecycle and VCF Operations): the workflow completes with warnings, and you get the banner, the alert and the Components warning panel.
- Older than 9.1.0.0300: Build > Tasks > VCF Instances shows Deploy VCF Management Components as Failed, with the subtask Import VCF Operations in Fleet Lifecycle failed.
Task details often name the step, for example An unexpected error occurred in step discover_vrni_component_task_ref., followed by a certificate that does not match any subject alternative name.
Cause
The import fails for one of four reasons: invalid credentials, an invalid certificate, a missing vCenter host, or invalid component IPs. All four look the same in the UI. The failed task cannot simply be retried, because the invalid data stays in VCF Operations until it is cleared (KB 441858).
Fix
Broadcom provides a script, remediate_deploy_mgmt_components.py, attached to KB 441858. It has two options:
- Option 1 clears the stale data and retries the deploy task. Run it when the task is Failed.
- Option 2 imports the missing 9.0 components one by one, after checking reachability, credentials and certificates. Run it when the task completed with warnings, or after Option 1.
Have these passwords ready: SDDC Manager admin, VCF services runtime, VCF Operations admin, and the passwords of the components you need to import (VCF Automation, VCF Operations for networks, Identity Broker, Log management). Then, on SDDC Manager:
python /home/vcf/remediate_deploy_mgmt_components.pyCopy the script to /home/vcf/ first, SSH in as vcf and switch to root with su. The script writes a log to /var/log/vmware/vcf/vcf_remediation_backups/.
If Option 2 stops on a VCF Operations for networks certificate without a valid SAN entry, rotate the certificate first with KB 440459. On Fleet Lifecycle 9.1.1 or later, you can also add the components through the Add Component workflow in the Fleet lifecycle UI instead of Option 2.
Verify
Build > Lifecycle > VCF Management > Components shows no warning panel, the banner is gone, and every 9.0 component appears in Fleet Lifecycle ready for its 9.1 upgrade.
My take
Nearly every cause here is a data quality problem that exists before the upgrade starts: a certificate with only an IP in it, an expired service password, a stale host record. Checking certificates and component passwords a week before the window is much cheaper than running this script during it.