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
Let's suppose the user runs cctl machine upgrade, and deleteMachine succeeds, but createMachine fails. That means the machine has been removed from the on-disk state, and cctl machine upgrade cannot be invoked again; cctl create machine must be invoked.
The text was updated successfully, but these errors were encountered:
If we don't update state after delete, another invocation of machine upgrade will fail unless delete is idempotent. It isn't yet (e.g. drain/delete fail if the node isn't found).
Thanks Daniel, once we start persisting kubeconfig into cctl-state we might be able to make drain and delete idempotent as well. (As we would be able to execute it directly from the machine where we run cctl). Will update the ticket with findings soon.
Let's suppose the user runs
cctl machine upgrade
, anddeleteMachine
succeeds, butcreateMachine
fails. That means the machine has been removed from the on-disk state, andcctl machine upgrade
cannot be invoked again;cctl create machine
must be invoked.The text was updated successfully, but these errors were encountered: