Cloud Proxy remains in vCenter and Fleet after deletion in VMware Cloud Foundation (VCF) Operations
search cancel

Cloud Proxy remains in vCenter and Fleet after deletion in VMware Cloud Foundation (VCF) Operations

book

Article ID: 447501

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Cloud Proxy is deleted from the VMware Cloud Foundation (VCF) Operations user interface.
It is observed that the virtual machine (VM) associated with the Cloud Proxy continues to exist in the vCenter inventory and is not deleted from the disk.
Additionally, the collector remains visible in the Fleet view for an extended period after the deletion process completes.

Environment

VCF 9.x

Cause

This behavior occurs because the VCF Operations deletion workflow does not automatically remove the virtual machine from the vCenter inventory. The persistence of the collector in the Fleet view is due to the 24-hour synchronization cycle between VCF Operations and Fleet.

Resolution

To complete the removal of a Cloud Proxy, you must perform the following actions:

  1. Manual VM Removal:
    • Log in to vCenter and locate the virtual machine for the deleted Cloud Proxy.
    • Power off the VM and select Delete from Disk.
  2. Inventory Synchronization:
    • The collector will be removed from the Fleet view automatically within 24 hours.
    • Note on Manual Sync: There is no direct API command to trigger an inventory-wide sync. However, you can trigger a status update by performing a component refresh action via API on the VCF Operations component, which includes the cloud proxy.
  3. Verification:
    • Verify the removal by running curl --insecure -s -u "admin" https://localhost/casa/onprem/v1/cloudproxies | python -m json.tool on the primary node. Confirm the UUID is no longer present.




Additional Information