Why is my bare-metal server stuck provisioning?
A Hetzner bare-metal server is stuck provisioning for one of these reasons: it boots from its local disk instead of the network, the rescue SSH key conflicts with a key in your Robot account, or the installer refuses its disks. Syself Autopilot installs every server through the Hetzner rescue system, so the server has to reach rescue before anything else happens.
The events on the HetznerBareMetalHost tell you which one it is. Read them on the management cluster:
kubectl describe hetznerbaremetalhost <name>
HardwareRebootTimedOutwith "The rescue system could not be reached": the server did not boot from the network. Network boot must come first in the boot order, permanently. Ask Hetzner support to set this.- "Connection error. Can't reach rescue system via ssh.": on a server that ran an operating system before, this is usually the same boot-order problem. The server booted its old system from disk.
SSHKeyAlreadyExists: the public key of your cluster's rescue key is already stored in Robot under a different name. Delete that entry in Robot. Syself Autopilot then uploads the key under the right name.RootDeviceHintsInvalid:rootDeviceHintsis missing on the host, or its WWN matches no disk in the server. See Why does the installer pick a different disk than I expected, and how do root-device hints work?CustomProvisionerFailedwith "refusing to provision": the installer found RAID on a disk, an LVM volume on the OS disk, or an operating system on another disk. It writes nothing in that case, so no data is lost. The message lists every disk it checked.
The fix for each case is in A server that will not provision, including the text to send to Hetzner support. If the installer refused the disks, clean them as described in Wipe a disk before provisioning. If the server still does not come up, prepare your case and contact support. We will look at it with you.
Related questions
