Deleting VCF Automation 9.1 deployment fails with Error code OPSVSP00012.
search cancel

Deleting VCF Automation 9.1 deployment fails with Error code OPSVSP00012.

book

Article ID: 448027

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Failure encountered while attempting to delete a VCF Automation 9.1 component using the Python script as outlined in KB.

  • The deletion fails during the "Unregister component from VCF Operations" phase with the following error:
    Error Code: OPSVSP00012
    Failed to delete Log management configuration with VCF Management Services appliance
    com.vmware.vrealize.lcm.exception.AdapterTaskException: No route to host

Environment

  • VCF Operations 9.1.0
  • VCF Automation 9.1.0

Cause

This issue occurs if the VCF Automation appliance was manually shut down and VCF Service runtime (Consumption Cluster) was deleted. Because the underlying cluster and appliance have already been removed, the automated task attempting to remove the Log Management configuration cannot reach the target endpoint, resulting in a "No route to host" exception.

Resolution

To resolve this issue and complete the deletion of the VCF Automation deployment, bypass the failing log management sub-task from the user interface:

  1. Log in to the VCF Operations UI using the admin user.
  2. Retry the Unregister VCFA in VCF Ops task.
  3. Set Skip Task to true for the sub-task named Removing Log Management Config in VCF Management Services.
  4. Allow the unregister task from VCF Operations to complete successfully.
  5. Once VCFA is unregistered from VCF Operations, retry the sub-task Delete Component from SDDC lifecycle service to unregister the VCFA component.
  6. The deletion will now complete successfully.

Verify that VCF Automation is removed from the environment and ready to be redeployed.