Runbook
Runbooks
Start with pk-metal status. Find the value from the PHASE or BLOCKED column, or the reason of a condition, in the table.
Each runbook has the same parts: symptoms, impact, diagnosis, fix and verification.
Alerts
Section titled “Alerts”Each alert links to one runbook in its runbook_url annotation.
| Alert | Runbook |
|---|---|
PkMetalMetricsAbsent |
Management cluster lost |
PkMetalAdmissionGateDegraded |
Admission gate degraded |
PkMetalOperationFailed |
Operation failed |
PkMetalOperationStuck |
Operation stuck |
PkMetalOperationBlocked, PkMetalApprovalWaiting |
Operation held |
PkMetalBMCUnreachable |
BMC unreachable |
PkMetalNodeNotReady |
Node not ready |
PkMetalClusterUnavailable |
Cluster unavailable |
PkMetalEtcdBackupStale, PkMetalEtcdBackupMissing |
Backup failing |
PkMetalCredentialsExpiring |
Credentials not renewed |
PkMetalRolloutStalled, PkMetalRolloutFailed |
Rollout paused or plan changed |
Machines and BMCs
Section titled “Machines and BMCs”| You see | Where | Runbook |
|---|---|---|
Mismatch, SerialMismatch, MACMismatch, IdentityDiverged |
Endpoint phase, Verified=False |
Host in Mismatch |
Unreachable, Reachable=False, NoReachablePath |
Endpoint phase, operation | BMC unreachable |
NoLedgerEntry, NoBMCMac, LedgerEntryInvalid |
Asset Materialized=False |
BMC unreachable |
Ambiguous, AmbiguousSystem, HostAlreadyClaimed |
Claim phase, BLOCKED |
Claim ambiguous |
InstalledNodeRemains, DiskNotWiped |
Host DiskWiped=False, claim |
Disk not wiped |
insertMedia failed, SingleMediumUnsupported, NoBootableMedia, BuilderUnavailable |
Operation, claim, BootAsset | Media slot busy or missing |
Operations
Section titled “Operations”| You see | Where | Runbook |
|---|---|---|
Failed, StepFailed, ReleaseFailed, ConvergenceFailed |
Operation phase, claim | Operation failed |
Aborted |
Operation phase | Operation failed |
OperationQueued, OutsideMaintenanceWindow, ClusterDisruption, SelfDisruption |
Operation BLOCKED |
Operation held |
HeldByUser, HostInMaintenance, EtcdJoinWaiting, EtcdRiskRefused, RemovalWaiting |
Claim BLOCKED |
Operation held |
RolloutRefused |
Operation Executed=False |
Operation held |
| A drain step failed, the node stays cordoned | Operation message | Drain stuck |
Running in the same step for hours |
Operation, pk_metal_operation_running_seconds |
Operation stuck |
Nodes and clusters
Section titled “Nodes and clusters”| You see | Where | Runbook |
|---|---|---|
Ready=False, Converging, DialFailed, MaintenanceMode |
TalosNode | Node not ready |
NodesNotReady, KubernetesUnreachable |
Cluster Available=False |
Cluster unavailable |
EtcdUnavailable, a member unhealthy |
Cluster Bootstrapped, pk-metal restore plan |
etcd unhealthy or quorum lost |
EtcdDataLost, EtcdDataPresent, RestorePending, BootstrapRefused |
Cluster Bootstrapped=False |
Bootstrap refused |
PausedAfterFirstNode, WaitingForHealth, PlanBlocked, PlanChanged, RolloutFailed |
TalosRollout, ROLLOUT table |
Rollout paused or plan changed |
BackupTooOld, SinkRefused, SinkUnavailable, SnapshotFailed |
EtcdBackupPolicy, EtcdSnapshot | Backup failing |
| The management cluster does not answer | Everything | Management cluster lost |
credentialsExpireAt near, not renewed |
TalosCluster status | Credentials not renewed |
gate.degraded in the audit log, pk_metal_admission_gate_degraded is 1 |
Operator audit log, metrics | Admission gate degraded |
Before you change anything
Section titled “Before you change anything”Follow Collect diagnostics. The facts help if the fix does not work.
After an incident
Section titled “After an incident”To find who proposed, approved and lifted a guard on each change, read the Audit trail. A finished operation stays for the site retention, 30 days by default. The audit logs stay longer.