Cannot cancel Workload Domain creation task via API (VCF_RUNTIME_ERROR)
search cancel

Cannot cancel Workload Domain creation task via API (VCF_RUNTIME_ERROR)

book

Article ID: 445750

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

You are attempting to cancel a failed Workload Domain creation task via the API in SDDC Manager (for example, to correct a misconfigured TEP address pool and resubmit the JSON). When issuing the cancellation request, the task fails to cancel and the API returns the following error:

{"arguments":  [ ],
"errorCode":  "VCF_RUNTIME_ERROR",
"message":  "Something went wrong. Please retry or contact the service provider and provide the reference token.",
"referenceToken":  "ONO730"}

Environment

VCF 9.x

Cause

SDDC Manager workflows that fail due to incorrect input configurations (such as an invalid TEP pool) cannot always be forcefully canceled via the API, depending on the active subtask state. The system blocks the workflow cancellation, resulting in the VCF_RUNTIME_ERROR.

Resolution

To resolve this issue, do not try to cancel the workflow. Instead, modify the existing workflow specification file in place to correct the configuration errors and then retry the task.

  1. Extract the workflow.json via the internal vault API.

  2. Update the configuration parameters (e.g., correct the TEP address pool details).

  3. Re-inject the updated JSON spec.

  4. Restart the task directly from the SDDC Manager UI.

For exact steps on how to extract, modify, and re-inject the workflow spec file, see Re-try an existing workflow by modifying the workflow spec file.