# Troubleshooting

Source: https://argoctl-docs.pages.dev/docs/guides/troubleshooting

> How to read an argoctl failure, and an index of common symptoms with their fixes.

## Reading a failure

Every failed run ends the same way:

```text
✗ gpu2: the BMC fetched the test ISO (35.4 MB) and the node was powered on, but the test image didn't report within 10m (step: boot the test ISO)
  To fix:
    1. Watch gpu2's console (the BMC's remote console) while running argoctl preflight /etc/argoctl/site.yaml --node gpu2
    2. ...
  Full log: /var/log/argoctl/20261130T101500Z-preflight.log
```

1. **The error** says what failed, on which node, at which step.
2. **To fix** lists what to check or run, in order, with the exact commands.
3. **The run log** has everything the terminal didn't show: every API request and response, every command's output, every Ansible task (see [Run logs](https://argoctl-docs.pages.dev/docs/reference/logs)).

Fix the cause, then re-run the same command. Commands check before changing anything and are safe to repeat.

## By symptom

### Site file

| Symptom | Fix |
|---|---|
| `unknown field ...` | A typo or misplaced field; the message lists the allowed fields. [site validate](https://argoctl-docs.pages.dev/docs/reference/cli/site-validate#troubleshooting) |
| `... has host bits set`, `... overlaps ...`, `... is already used by ...` | Address planning problems. [site validate](https://argoctl-docs.pages.dev/docs/reference/cli/site-validate#troubleshooting) |
| `passwords can't be written in the site file` | Use `password_env` or `password_file`. [Secrets](https://argoctl-docs.pages.dev/docs/concepts/security) |

### BMCs and virtual media

| Symptom | Fix |
|---|---|
| `login refused`, `TLS handshake failed` | Credentials, or `verify_tls: false` for self-signed BMC certificates. [preflight](https://argoctl-docs.pages.dev/docs/reference/cli/preflight#troubleshooting) |
| `no VirtualMedia ...`, `... has no InsertMedia action` | BMC licence or firmware. [preflight](https://argoctl-docs.pages.dev/docs/reference/cli/preflight#troubleshooting) |
| `the BMC never fetched the test ISO` | Firewall or routing between the BMC network and mgmt. [preflight](https://argoctl-docs.pages.dev/docs/reference/cli/preflight#troubleshooting) |
| `fetched the test ISO ... didn't report` | Secure Boot, boot order, or the provisioning NIC/IP: watch the console. [preflight](https://argoctl-docs.pages.dev/docs/reference/cli/preflight#troubleshooting) |

### Ironic and provisioning

| Symptom | Fix |
|---|---|
| `must run as root`, `... is not an address of this machine` | Run on mgmt with `sudo`; check the `mgmt` addresses. [ironic install](https://argoctl-docs.pages.dev/docs/reference/cli/ironic-install#troubleshooting) |
| `docker compose up: ... pull ...` | mgmt can't reach the container registries. [Outbound access](https://argoctl-docs.pages.dev/docs/requirements#outbound-access) |
| `reach Ironic: ... connection refused` / `401` | `sudo argoctl ironic install <site-file>` repairs it. [provision](https://argoctl-docs.pages.dev/docs/reference/cli/provision#troubleshooting) |
| `MAC ... isn't one of the System's NICs` | Wrong MAC or BMC address in the site file. [provision](https://argoctl-docs.pages.dev/docs/reference/cli/provision#troubleshooting) |
| Deploy stays `wait call-back` | The deploy agent didn't reach Ironic: Secure Boot, NIC/IP, firewall. [provision](https://argoctl-docs.pages.dev/docs/reference/cli/provision#troubleshooting) |
| `No space left on device` in the deploy log | Use the `local` image download source. [ironic install](https://argoctl-docs.pages.dev/docs/reference/cli/ironic-install#image-download-source) |
| A node is `out of date` | The site file changed: `--reimage --node <name>`. [Reimage and recover](https://argoctl-docs.pages.dev/docs/guides/reimage-and-recover) |

### Cluster

| Symptom | Fix |
|---|---|
| Package installs fail or hang | Use `--apt-mirror`. [create cluster](https://argoctl-docs.pages.dev/docs/reference/cli/create-cluster#troubleshooting) |
| kubeadm preflight errors | CPU, memory, ports or swap on a node; the log lists kubeadm's `[ERROR ...]` lines. [create cluster](https://argoctl-docs.pages.dev/docs/reference/cli/create-cluster#troubleshooting) |
| `Run kubeadm join` fails | The worker can't reach the API server on port 6443; re-run. [create cluster](https://argoctl-docs.pages.dev/docs/reference/cli/create-cluster#troubleshooting) |
| GPU driver pod crash-looping | Kernel changed by hand; reboot into the held kernel or reimage. [create cluster](https://argoctl-docs.pages.dev/docs/reference/cli/create-cluster#troubleshooting) |
| `Fabric Manager running` fails | NVSwitch systems: see the driver pod's log. [create cluster](https://argoctl-docs.pages.dev/docs/reference/cli/create-cluster#troubleshooting) |
| `GPUs allocatable` short | A GPU dropped off the bus: check `dmesg` for XID errors. [verify cluster](https://argoctl-docs.pages.dev/docs/reference/cli/verify-cluster) |
| `RDMA devices in pods` fails | InfiniBand/RoCE links down, or no subnet manager. [create cluster](https://argoctl-docs.pages.dev/docs/reference/cli/create-cluster#troubleshooting) |

### Inference

| Symptom | Fix |
|---|---|
| `not enough free GPUs` | Scale down or delete another deployment, or use a lower precision. [deploy inference](https://argoctl-docs.pages.dev/docs/reference/cli/deploy-inference#troubleshooting) |
| `the model needs ... one replica has ...` | More GPUs per replica, FP8/INT4, or a lower `--max-model-len`. [Model placement](https://argoctl-docs.pages.dev/docs/concepts/model-placement) |
| `pipeline parallelism needs RDMA` | Fix the RDMA links, or use a single-node layout. [deploy inference](https://argoctl-docs.pages.dev/docs/reference/cli/deploy-inference#troubleshooting) |
| `401` reading the model | Gated model: accept its licence and pass `--hf-token-env`. [deploy inference](https://argoctl-docs.pages.dev/docs/reference/cli/deploy-inference#troubleshooting) |
| `CUDA out of memory` on start | KV cache doesn't fit: lower `--max-model-len` or add GPUs per replica. [deploy inference](https://argoctl-docs.pages.dev/docs/reference/cli/deploy-inference#troubleshooting) |
| `bfloat16 isn't supported` | T4 GPUs: let `--dtype auto` choose float16. [Versions](https://argoctl-docs.pages.dev/docs/reference/versions#supported-gpus) |
| The endpoint returns `401` | The deployment requires an API key. [deploy inference](https://argoctl-docs.pages.dev/docs/reference/cli/deploy-inference#troubleshooting) |

## Still stuck?

Collect `argoctl version`, the command you ran and its run log ([how](https://argoctl-docs.pages.dev/docs/guides/reimage-and-recover#collect-logs-for-support)), and contact Argo Compute support.
