Cancel long running Fleet Management Lifecycle requests
search cancel

Cancel long running Fleet Management Lifecycle requests

book

Article ID: 415510

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Occasionally it may be necessary to cancel certain long running or Failed requests in VCF Operations Fleet Management, this KB provides the steps necessary to cancel these tasks.

Environment

VCF Operations 9.0

Resolution

  1. Open the VCF Operations UI and browse to Fleet Management >> Lifecycle >> Tasks
  2. Find the Task which is to be cancelled.
  3. Click on the Request Status field of the Task to open the full details of the task



  4. In the browsers address bar you will see a URL similar to the following: 



  5. Copy the <Request_ID> and keep in a note.
  6. Access and authorize with the Fleet Management API as per How to Authorize VCF Operations Fleet Management API
  7. At the top of the Swagger page, use Select a definition to change to 2.private-internal-api as per the screenshot:



  8. Open the Request Controller section 
  9. Then open: POST /lcm/request/api/request/cancel/{requestId}
  10. Click Try it out 
  11. Enter the <Request_ID> which was noted in a previous step in the requestId field and click execute.
  12. The API is expected to return a response code of 200 
  13. Returning to the VCF Operations UI and browsing to Fleet Management >> Lifecycle >> Tasks, the same task will now show as Cancelled