This article outlines the specific scenarios within a VMware Cloud Foundation (VCF) 9.1 deployment or upgrade where failed components must be cleaned up before retrying operations. Manual cleanup is required in the following instances:
<fleet-lcm-fqdn> with actual values. Retrieve values from the VCF Operations UI -> Build -> Lifecycle -> VCF Management -> Components (e.g. vsp.example.com for <vcf-services-runtime-fqdn>).The commands required to list and cleanup a component vary depending on the component type. The steps below detail the correct syntax to execute the script.
Warning: Prior to the cleanup, verify a backup of all critical component data exists, such as logs or database backups.
VIDB 9.1 with VCF SSO Configured
VIDB 9.1 without VCF SSO Configured
Note: This action completely removes the VIDB solution from VCF Fleet.
python cleanup_component.py list vsp-component --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]python cleanup_component.py delete vsp-component --component-id <vsp-component-id> --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]VIDB 9.0 (Remove a previously imported VIDB 9.0 instance from VCF 9.1 Fleet Lifecycle)
Note: This action cleans component details from the VCF Fleet Lifecycle, VCF SSO continues to function, and the existing 9.0 VIDB cluster remains intact.
python cleanup_component.py list vsp-component --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]Note: Enter the password of vmware-system-user for [email protected] account as both the accounts have the same password.
python cleanup_component.py delete vsp-component --component-id <vsp-component-id> --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]
python cleanup_component.py list vsp-component --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]python cleanup_component.py delete vsp-component --component-id <vsp-component-id> --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]python cleanup_component.py list vsp-component --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]python cleanup_component.py delete vsp-component --component-id <vsp-component-id> --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]VCF Automation
Note: VCF Automation Upgrade Failure cleanup is not supported, Contact support for assistance with cleaning up VCF Automation upgrade failures. The procedure below applies only to scenarios where the existing VCFA 9.1 instance encounters critical issues requiring a fresh deployment.
python cleanup_component.py list vsp-component --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]Note: Enter the password of vmware-system-user for [email protected] account as both the accounts have the same password.
python cleanup_component.py delete vsp-component --component-id <vsp-component-id> --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected] --vcfa-vcf-services-runtime-fqdn <vcfa-vcf-services-runtime-fqdn> --vcfa-vcf-services-runtime-username <vcfa-vcf-services-runtime-username>python cleanup_component.py list vsp-cluster --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]Note: Enter the password of vmware-system-user for [email protected] account as both the accounts have the same password.
python cleanup_component.py delete vsp-cluster --component-id <vsp-cluster-id> --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected] --vcenter-username <vcenter-username>Note: Replace <vcenter-username> with SSO Administrator account, eg. [email protected]
python cleanup_component.py list vsp-component --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]python cleanup_component.py delete vsp-component --component-id <vsp-component-id> --fleet-fqdn <fleet-lcm-fqdn> --vcf-services-runtime-fqdn <vcf-services-runtime-fqdn> --vcf-services-runtime-username [email protected]cleanup_component.py - 27A82D393333D17261EF1E8629A69AD6C40659A8537DF961DE95E545FE656F5B