Skip to content

Runbook

Host in Mismatch

ManagementEndpoint phase
Mismatch
Condition
Verified=False with the reason SerialMismatch or MACMismatch. Or Inspected=False with IdentityDiverged.
Host
Stays in Inspecting. BLOCKED shows the reason.

The operator does nothing to this machine. No install, no BIOS change, no profile. This is a hold, not damage.

  1. Read the message. It has the two values.

    Terminal window
    kubectl describe managementendpoint sim-0001
  2. Read the serial and the BMC MAC from the BMC itself.

    Terminal window
    pk-metal check --insecure https://192.0.2.21
  3. Compare them with the Asset and the ledger line.

Reason Usual cause
SerialMismatch A typo in the Asset, or the Asset names another machine.
MACMismatch The ledger line maps the MAC to the wrong address. Another BMC answers there.
IdentityDiverged The BMC reports different serials on different paths.
  1. If the Asset is wrong, correct spec.serial or spec.bmcMac in git.

  2. If the ledger is wrong, correct the address of the MAC and apply the overlay.

  3. If somebody swapped cables, put the cables back. Do not change the records to agree with a wrong cable.

  4. Apply the change.

    Terminal window
    kubectl apply -f assets/sim-0001.yaml

The endpoint goes to Ready. The Host goes to Available.

For IdentityDiverged, collect the inventory with pk-metal inventory and ask the vendor. See Collect diagnostics.