How to remove a failed workflow in VMware Cloud Foundation
search cancel

How to remove a failed workflow in VMware Cloud Foundation

book

Article ID: 343400

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

This article provides steps to clean up a failed workflow in VMware Cloud Foundation



Environment

VMware Cloud Foundation

Resolution

To workaround this issue in VMware Cloud Foundation :

  1. Find the failed workflow ID in the SDDC Manager UI.
    1. Expand the failed Workflow in the Tasks list and then click on the View Subtasks link. 
    2. Find the workflow ID in the browser URL. There will be something similar to: (monitoring-panel:monitoring/tasks/subtasks/c6db71f0-XXXX-XXXX-XXXX-93b7cda0e148)c6db71f0-XXXX-XXXX-XXXX-93b7cda0e148 is the Workflow ID.
  2. Log in to the SDDC Manager VM as the vcf user and then issue su - to switch to the root user.
  3. Issue a command similar to the following to delete the failed Workflow:
curl -X DELETE http://localhost/tasks/registrations/c6db71f0-XXXX-XXXX-XXXX-93b7cda0e148
 
Note: Replace c6db71f0-XXXX-XXXX-XXXX-93b7cda0e148 with the Workflow ID value obtained in Step 1b.