Skip to content

Runbook

Disk not wiped

Host
DiskWiped=False with InstalledNodeRemains. The annotation metal.platform-kit.org/disk-not-wiped names the cluster and the node.
HostClaim
BLOCKED shows DiskNotWiped.

The operator does not install on the machine and does not power it on. If the machine booted from its disk, it would join a cluster where it does not belong.

Terminal window
kubectl describe host simhw2288v5000399

The message names the node that the disk may hold.

  1. Ask for the wipe.

    Terminal window
    pk-metal wipe simhw2288v5000399
  2. Approve the proposed operation.

    Terminal window
    pk-metal approve

If you know that the disk is empty, remove the mark yourself. In the same request, set metal.platform-kit.org/wipe-waived to your user name and the reason. The admission policy guard-lift refuses a removal without it. The audit log names the waiver when an install starts on the machine.

Terminal window
kubectl annotate host simhw2288v5000399 metal.platform-kit.org/disk-not-wiped- \
metal.platform-kit.org/wipe-waived="$(kubectl auth whoami -o jsonpath='{.status.userInfo.username}'): disk replaced"

DiskWiped=True. A waiting claim proposes its install.