> ## Documentation Index
> Fetch the complete documentation index at: https://docs.primeintellect.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Node Reboot

> Request a graceful reboot of a single node on a dedicated cluster

When a node on your dedicated cluster misbehaves, a team admin can ask for a graceful reboot of that one node, from the dashboard or the CLI. The platform only marks the node: the cluster drains it, reboots it, and validates it before it takes new work.

> [!NOTE]
>
> Only members with the **ADMIN** role on the team that owns the cluster can request a reboot. Other team members can see node health but not reboot a node. See [Self-healing and node health](https://docs.primeintellect.ai/model-factory/clusters.md#self-healing-and-node-health) for the automatic cordons that need no request at all.

## What a request does

1. Slurm jobs and Kubernetes workloads on the node are drained.
2. The reboot waits for the cluster's maintenance window and for protected workloads.
3. The node reboots, and its health checks run again before it takes new work.

Pickup takes up to about 15 minutes, so a request is not an immediate reboot. The pending mark clears once the node is back.

> [!WARNING]
>
> Draining stops the work on the node. A multi-node job with a task on it will fail or restart from its last checkpoint, so reboot a busy node only when you mean to interrupt it.

## From the dashboard

Open [Dedicated Clusters](https://app.primeintellect.ai/dashboard/model-factory), select the team that owns the cluster, and select the cluster card. In **Nodes**, click the node's tile, then choose **Reboot** and type the node name to confirm.

![Node panel for gpu-12 on research-h100 with the Ready badge, workload state Free, InfiniBand 1 of 8 degraded, and a Reboot button in the panel header](https://mintcdn.com/primeintellect/9R1HOaaALmdYd_f7/images/model-factory/node-reboot-panel.png?fit=max\&auto=format\&n=9R1HOaaALmdYd_f7\&q=85\&s=279122b2507896f6e3057018b541cd06)

The node panel as a team admin sees it, with Reboot in its header.

While the request is pending, the node shows **Reboot requested** with the time it was asked for.

![Node panel for gpu-12 showing Reboot requested with the request time Dec 4, 2026, 2:21:37 PM, a note that workloads are drained first, and the node still Ready with workload state Free](https://mintcdn.com/primeintellect/9R1HOaaALmdYd_f7/images/model-factory/node-reboot-pending.png?fit=max\&auto=format\&n=9R1HOaaALmdYd_f7\&q=85\&s=bdff64c8390ce30f913f02175c9253ca)

A pending request. The node keeps its state, here Ready and Free, until the drain starts.

## From the CLI

> [!NOTE]
>
> `prime factory reboot` needs [Prime CLI 0.31.0 or later](https://docs.primeintellect.ai/cli-reference/introduction.md#quick-start). A scoped [API key](https://docs.primeintellect.ai/api-reference/api-keys.md) needs `factory:write`, and it must be a key you issued yourself.

```bash theme={null}
prime factory reboot <cluster> <node>
```

`<cluster>` is the cluster id, or the display name or 1-based index from `prime factory status`. `<node>` is the exact node name from `prime factory nodes`. The command describes what will happen and asks you to type the node name:

```bash theme={null}
$ prime factory reboot my-cluster my-cluster-gpu-002
Reboot node 'my-cluster-gpu-002' on cluster 'my-cluster'.
This is a graceful reboot. The cluster first drains the node from Slurm and
Kubernetes, then reboots and re-validates it, respecting maintenance windows.
It can take up to about 15 minutes for the reboot to start.
Type the node name (my-cluster-gpu-002) to confirm:
```

In a script, pass the node name again with `--confirm` to skip the prompt, and `--json` for machine-readable output:

```bash theme={null}
$ prime factory reboot my-cluster my-cluster-gpu-002 --confirm my-cluster-gpu-002 --json
{"nodeName": "my-cluster-gpu-002", "requestedAt": "2026-12-03T20:39:03Z"}
```

Requests are rate limited to 10 per minute.

## Following the reboot

A pending request shows on the node until it is back, in the dashboard and in the CLI:

```bash theme={null}
$ prime factory nodes --cluster my-cluster
NODE                STATE                   HELD  ASSIGNED TO  PARTITIONS
my-cluster-gpu-002  ready (reboot pending)   8/8  slurm        all
```

A pending reboot is not a state of its own, because the node keeps taking work until the drain starts. From there the state follows the reboot:

| State | What it means during a reboot |
| - | - |
| `ready` | Before the drain starts, and again once the node is back and healthy |
| `draining` | A Slurm-claimed node finishing the work it has, taking nothing new |
| `under inspection` | Drained and unschedulable, waiting for or going through the reboot (`cordoned` in `--json`) |
| `tainted` | Up but held back by a health check, with the reason in `taint_reason` |

`prime factory nodes --json` carries the request's own timestamp in `power_cycle_requested_at`, which reads `pending` when the request has no usable time, and `null` when no reboot is pending.

A node that comes back `tainted` has failed a health check rather than the reboot. The detail is in `taint_reason`, and [Cluster Monitoring](https://docs.primeintellect.ai/model-factory/monitoring.md) has the GPU and network history behind it.

## Where it is available

Node reboot depends on a power-cycle flow that not every dedicated cluster runs. The dashboard hides the action where it is unavailable, and `prime factory status --json` and `prime factory nodes --json` carry `reboot_supported` per cluster. A request against such a cluster is refused and changes nothing.

## Troubleshooting

> [accordion] Node reboot is not available on this cluster
>
> The cluster does not run the power-cycle flow a reboot relies on, and nothing was requested. [Contact us](mailto:contact@primeintellect.ai) if the node needs a reboot anyway.

> [accordion] Only team admins can reboot nodes
>
> You belong to the team that owns the cluster but without the ADMIN role. A team admin can change your role in the team's members list.

> [accordion] A reboot is already pending for this node
>
> The node has a request waiting for its drain and maintenance window. A second request is refused rather than queued, so retrying is safe and never reboots twice.

> [accordion] Too many reboot requests
>
> The limit is 10 requests per minute. Wait a minute and try again.

> [accordion] The request timed out
>
> The reboot may still have been requested. Check the node in the dashboard, or run `prime factory nodes` before retrying.

> [accordion] Cluster or node not found
>
> The node name must match `prime factory nodes` exactly. Control-plane nodes and anything that is not a GPU node of the cluster are refused, and a cluster your team does not own reads as not found.

### Exit codes

`prime factory reboot` is scriptable in both output modes. With `--json`, errors go to stderr as `{"error": {"code": ..., "message": ...}}`.

| Code | Meaning |
| - | - |
| 0 | Reboot requested |
| 1 | Other error, cancelled, or rate limited |
| 2 | Invalid usage or confirmation mismatch |
| 3 | Cluster or node not found, or no access |
| 4 | Unauthorized, or not a team admin |
| 5 | Cluster unreachable |
| 6 | Reboot already pending |
| 7 | Node reboot not available on this cluster |

> [card] [Dedicated Clusters](https://docs.primeintellect.ai/model-factory/clusters.md)
>
> Inspect capacity, nodes, and jobs on your cluster.

> [card] [Cluster Monitoring](https://docs.primeintellect.ai/model-factory/monitoring.md)
>
> GPU, node, and network health over time.
