# argoctl ironic status

Source: https://argoctl-docs.pages.dev/docs/reference/cli/ironic-status

> Show Ironic's containers, health checks, settings and the nodes it knows, without changing anything.

## Synopsis

```bash
sudo argoctl ironic status <site-file> [--json]
```

## Description

Runs the same health checks as [`ironic install`](https://argoctl-docs.pages.dev/docs/reference/cli/ironic-install) but changes nothing, and lists the nodes Ironic knows with their provision state. Use it to check mgmt before `provision`, or to see what Ironic is doing during one.

## Flags

| Flag | Default | |
|---|---|---|
| `<site-file>` | | Path to the site file. |
| `--json` | | Print the report as JSON on stdout. |

## Output

```text
$ sudo argoctl ironic status /etc/argoctl/site.yaml
✓ Ironic is healthy (1s)
  containers  httpd (running), ironic (running), mariadb (running)
  image download source  local

  ok     API                                  http://172.16.1.10:6385 answers (API up to 1.115)
  ok     conductor                            alive: 172.16.1.10
  ok     redfish driver                       enabled (idrac, ipmi, manual-management, redfish)
  ok     deploy agent ramdisk                 http://172.16.1.10:6180/images/ironic-python-agent.initramfs (324 MB)
  ok     OS image                             http://172.16.1.10:6180/images/os-sha256-04e8f2461a16-ubuntu-24.04-server-cloudimg-amd64.img (593 MB)

  NODE  STATE   POWER  MAINTENANCE  LAST ERROR
  cp1   active  on     no           -
  gpu1  active  on     no           -
  gpu2  active  on     no           -
  Full log: /var/log/argoctl/20261130T104455Z-ironic-status.log
```

## Exit codes

| Code | Meaning |
|---|---|
| `0` | Ironic is installed and healthy. |
| `1` | Not installed, or a health check failed. The report says which. |
| `2` | Usage error. |

## Troubleshooting

| Symptom | Likely cause and fix |
|---|---|
| `Ironic isn't installed` | `sudo argoctl ironic install <site-file>`. |
| A health check fails | `sudo argoctl ironic install <site-file>` repairs it; see its [troubleshooting](https://argoctl-docs.pages.dev/docs/reference/cli/ironic-install#troubleshooting). |
| A node is in maintenance | Ironic stopped managing it, often after a failed power sync (wrong BMC password). Fix the cause and run `provision`; the message gives the command to leave maintenance. |
