Runbook
Operation held
Symptoms
Section titled “Symptoms”- Operation
- Approved, but
Executed=Unknownand a value inBLOCKED. OrExecuted=FalsewithRolloutRefused. - Claim
- A value in
BLOCKED, and no operation exists. - Alert
PkMetalOperationBlocked: an approved operation did not start for one hour, for a reason other thanOperationQueuedorOutsideMaintenanceWindow.PkMetalApprovalWaiting: an operation waits more than one day for approval.
Impact
Section titled “Impact”Nothing happened to the machine. Most holds end by themselves.
Diagnose
Section titled “Diagnose”Read the BLOCKED value and the note line in pk-metal status. Then find it in the table.
| Reason | Why | What to do |
|---|---|---|
AwaitingApproval |
Nobody approved it | Approve, hold, retry and abort |
OperationQueued |
Another operation runs on the same Host | Wait. One operation at a time for each Host. |
OutsideMaintenanceWindow |
A window covers the Host and it is not open | Wait, or set metal.platform-kit.org/ignore-window to <username>: <reason>. See Use maintenance windows. If the message says "none of them opens again" or "cannot read", no window opens: correct the window. |
ClusterDisruption |
Another control plane is down, or etcd is not healthy without this one | Wait. To repair a broken etcd, set metal.platform-kit.org/override-cluster-guard to <username>: <reason>. |
SelfDisruption |
The step would reboot a machine that the operator runs on | Move the operator, or set metal.platform-kit.org/allow-self-disruption on the Host. See Self-protection. |
HeldByUser |
The claim has metal.platform-kit.org/hold |
pk-metal unhold |
HostInMaintenance |
The Host has metal.platform-kit.org/maintenance |
Put a host in maintenance |
EtcdJoinWaiting |
Another control plane joins, or etcd is not healthy | Wait. If it stays, see etcd unhealthy or quorum lost. |
EtcdRiskRefused |
The removal leaves etcd unsafe | Choose an odd size, or set metal.platform-kit.org/ack-etcd-risk. See Scale control planes. |
RemovalWaiting |
Another control plane leaves first | Wait. |
RolloutRefused |
The rollout approval does not cover this operation | See Rollout paused or plan changed. The machine did not change. |
NoReachablePath |
The BMC does not answer | BMC unreachable |
Verify
Section titled “Verify”The operation goes to Running.
Related
Section titled “Related”- Approval, Self-protection, MaintenanceWindow
- Audit trail: the record of each guard that a person lifts