You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
You are trying to change the Stage of a machine. If the Machine has a Workflow set, then the Workflow controls the Stage transitions, based on what the Workflow stage list specifies.
You can not independently change a Stage on a Machine in that case. It's a safety mechanism to prevent you from "screwing up" the Stage transitions when a machine is under control of a Workflow.
If you DO want to change Stages and only execute a Stage instead of all of the Stages specified in a Workflow; you must remove the Workflow from the machine first, then you can set the Stage. This procedure also shows you how to correctly remove the Workflow with the CLI.
drpcli machines workflow Name:mach-01 ""
Note the empty double quotes to set Workflow to empty. Now you can use jq to show/parse the results:
drpcli machines stage 1650e1e1-a7ad-46ab-9635-53565de7ddd3 complete
Error: ValidationError: machines/1650e1e1-a7ad-46ab-9635-53565de7ddd3
1650e1e1-a7ad-46ab-9635-53565de7ddd3: Changing machine bootenv not allowed; remove workflow first
1650e1e1-a7ad-46ab-9635-53565de7ddd3: Changing machine stage not allowed; remove workflow first
The text was updated successfully, but these errors were encountered: