Runbook
Rollout paused or plan changed
Symptoms
Section titled “Symptoms”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
ROLLOUTtable shows the reason in theSTATEcolumn. - Alert
PkMetalRolloutStalled(waits for health, cannot plan, or paused after the first node, for one hour) orPkMetalRolloutFailed.
Impact
Section titled “Impact”Some nodes run the new state, some the old. The cluster works in this mixed state.
Diagnose
Section titled “Diagnose”pk-metal rollout listpk-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. |
Stop it now
Section titled “Stop it now”To stop before the next node, pause the rollout. The node that runs now finishes.
pk-metal rollout pause prod-talosupgrade-1a2b3c4dTo stop for good, abort it. No further node starts. You cannot undo an abort.
pk-metal rollout abort prod-talosupgrade-1a2b3c4dAsk for a new proposal
Section titled “Ask for a new proposal”An operation of a rollout that shows RolloutRefused was not covered by the approval. Its machine did not change.
-
To ask for a new proposal after a failure or an abort, delete the old rollout.
Terminal window kubectl delete talosrollout prod-talosupgrade-1a2b3c4d -
Find the new proposal.
Terminal window pk-metal rollout list
Verify
Section titled “Verify”Complete=True.