Provision a Metal host
A Metal Server is Atlas's record of one physical host. When you create one, Atlas gets a machine from the provider and installs Metal on it. The record keeps the provider ID and setup progress, so a failed setup can be retried.
Provisioning sequence
A new Metal Server queues a background job:
- Create or reuse the provider host.
- Ask the provider to prepare it and wait for root SSH access.
- Configure the provider network and WireGuard.
- Install Metal, WG Mesh, TLS credentials, storage, and systemd units.
- Mark the host
Runningand queue disk inventory sync.
The provider adapter supplies host-specific operations. An adapter for a manually prepared host can expect some resources to exist already.
What the status tells you
Setup moves through Pending, Installing, and Running. A failed step sets Failed. An operator retry returns it to Pending. Stopped and Deleted come from provider state.
Atlas logs each phase and commits important fields after successful steps. On failure, it keeps the provider ID and setup data. A retry returns to Pending and can reuse the same host.
Installation inputs
The installation needs:
- A selected ZFS pool device.
- A private interface and address.
- Atlas-built binaries.
- A regional certificate.
Atlas writes the control address and a coordination listener on the WireGuard address. The install script creates the ZFS pool. metald does not select its device.
Failure and recovery
- Read the Metal Server status and provider ID.
- Find the failed phase in the Error Log and linked SSH Tasks.
- Correct the provider, SSH, network, or installation fault.
- Retry setup with the existing record.
A failed Atlas record can still have a real provider host. Keep its identity. Also check host sync: Running alone does not guarantee a fresh placement sample.
Details: Host administration and Metal startup. The Metal API starts after installation.
Source code and tests
- Metal Server controller queues setup and retry.
- Provisioner owns step order, commits, and failure status.
- Host installation sends WireGuard, TLS, and Metal setup work.
- Host install script creates host services and storage.
- Provisioning tests check repeat and failure behavior.