Skip to content

Runbook

Rollout paused or plan changed

TalosRollout conditions, as pk-metal rollout show prints them:

Paused=True, PausedAfterFirstNode
The first node is complete. The rollout waits for you. This is normal.
Paused=True, PausedByPerson
Somebody ran pk-metal rollout pause.
Progressing, WaitingForHealth
The next node waits until etcd and each Kubernetes node are healthy.
Complete=False, PlanChanged
The plan differs from the approved plan. Nothing ran.
Complete=False, RolloutFailed
The operation of one node failed. No further node starts.
Approved=False, AwaitingApproval
Nobody approved the plan.
Planned=False, PlanBlocked
The operator cannot make the plan yet. The message names the step and why.
pk-metal status
The ROLLOUT table shows the reason in the STATE column.
Alert
PkMetalRolloutStalled (waits for health, cannot plan, or paused after the first node, for one hour) or PkMetalRolloutFailed.

Some nodes run the new state, some the old. The cluster works in this mixed state.

Terminal window
pk-metal rollout list
pk-metal rollout show prod-talosupgrade-1a2b3c4d
Reason Fix
PausedAfterFirstNode, PausedByPerson Examine the nodes. Then run pk-metal rollout resume <rollout>.
WaitingForHealth, the message names a node or etcd See etcd unhealthy or quorum lost or Node not ready.
WaitingForHealth, the message says "rollout X of the same cluster runs" Only one rollout changes a cluster at a time. Examine the other rollout first.
PlanBlocked The message names the step that the operator cannot plan. Correct the cause. The operator then makes the plan again.
PlanChanged The operator proposes a fresh rollout. Read it and approve it.
RolloutFailed See Operation failed for the failed node. Then delete the failed rollout. The operator proposes a new one.
AwaitingApproval A person runs pk-metal rollout approve <rollout>. If your site forbids self-approval, that is not the proposer.

To stop before the next node, pause the rollout. The node that runs now finishes.

Terminal window
pk-metal rollout pause prod-talosupgrade-1a2b3c4d

To stop for good, abort it. No further node starts. You cannot undo an abort.

Terminal window
pk-metal rollout abort prod-talosupgrade-1a2b3c4d

An operation of a rollout that shows RolloutRefused was not covered by the approval. Its machine did not change.

  1. To ask for a new proposal after a failure or an abort, delete the old rollout.

    Terminal window
    kubectl delete talosrollout prod-talosupgrade-1a2b3c4d
  2. Find the new proposal.

    Terminal window
    pk-metal rollout list

Complete=True.