Runbook
BMC unreachable
Symptoms
Section titled “Symptoms”- Endpoint phase
UnreachableorConnectingfor a long time.Reachable=False.- Asset
Materialized=FalsewithNoLedgerEntry,NoBMCMacorLedgerEntryInvalid. No endpoint exists.- Operation
BLOCKEDshowsNoReachablePath.- Alert
PkMetalBMCUnreachable.
Impact
Section titled “Impact”The operator cannot read or change the machine. Steps that go through the Talos API still work. A running node is not affected.
Diagnose
Section titled “Diagnose”-
Read the endpoint phase and its
Reachablecondition.Terminal window kubectl get managementendpointskubectl describe managementendpoint sim-0001The
Reachablemessage holds the error of the last probe. -
If no endpoint exists, read the Asset condition.
Terminal window kubectl describe asset sim-0001The
Materializedcondition names the ledger problem. -
From a workstation on the BMC network, check the BMC. Talos nodes have no shell.
Terminal window pk-metal check https://192.0.2.21Do not add
--insecureto find the cause. A certificate error is a cause.
| Cause | Fix |
|---|---|
NoLedgerEntry |
Add the BMC MAC to the ledger. Apply the overlay. The manager restarts. |
LedgerEntryInvalid |
The line is not an https URL, or the MAC is in the ledger two times. Correct it. |
| Timeout | Check the network path on TCP 443. See Network checklist. |
| A proxy is set | Add the BMC network to NO_PROXY of the manager. See Behind a proxy. |
x509 or certificate in the message |
The manager does not trust the BMC certificate. Give the CA that signed it to the manager (--bmc-ca-secret, see Manager and BMC certificates), or replace the BMC certificate. |
TLSKeyChanged |
The BMC shows a key that is not pinned. Find out why, then approve the key. See Trust the BMC certificate. Do not approve a key that you cannot explain. |
TLSKeyNotPinned |
The endpoint has no pinned key yet. The next observation pins it. If it stays, the BMC does not answer on TLS. |
401 in the message |
The credentials are wrong. Check the Secret that credentialsRef names. |
| The BMC hangs | Reset the BMC from its web console, or remove power from the BMC. |
Verify
Section titled “Verify”The endpoint phase is Ready. pk_metal_bmc_reachable is 1.
If this does not work
Section titled “If this does not work”Follow Collect diagnostics. Include the manager log.