Operate
Troubleshooting
The symptoms operators meet most often, what causes each one, and the command that fixes it, with the exact error codes and alerts.
In short
Most problems name themselves. A refusal carries an E-… code, a remedy and often the exact value to set; a red doctor row names its cause; a failed run step carries the engine's last lines. This page lists the symptoms operators meet most often, by area, each with its cause and fix. Start with the three reads below, then find the symptom in the tables.
When you need it
- An endpoint does not create, does not serve, or serves errors.
- The console says Connecting…, shows Connect your database, or the API answers
503. - An alert fired and you want to know what to do about it.
- A rollout, an evacuate or a drain was refused.
Do it
Ask the doctor
kubectl -n opodcp exec deploy/opodcp -- /opodcp doctorEvery
✘row is a fault.opodcp runbook ROWprints its causes and fixes.Read the endpoint's status
export CP=https://cp.example.com export H="Authorization: Bearer $(kubectl -n opodcp get secret opodcp-admin -o jsonpath='{.data.token}' | base64 -d)" curl -s -H "$H" $CP/api/v1/endpoints/<id>/status | jq '{phase, waiting, lastError, proof, scaling}'waitingnames the pod and what it waits on;lastErroris the last thing that failed.Read the last run's steps
curl -s -H "$H" "$CP/api/v1/runs?endpoint=<id>&limit=1" | jq '.[0].steps[] | {name, state, error, code, remedies}'The failed step carries
code(theE-…code) andremedies. Find the code in the tables below or in Error codes.
Check it worked
After a fix, the doctor has no ✘ row, the endpoint's phase reads serving, and the alert resolves by itself after three healthy observations (about 45 s). The console's Activity page shows alert.resolved.
If it fails: the tables
Most refusals are a 400 invalid with the E-… code in details.code; a few (such as 503 E-SETUP and 409 E-NO-NOTIFIER) carry it in the body's code itself. See Error codes for every one. Rows marked † describe 0.3.0.
The control plane
| Symptom | Cause | Fix |
|---|---|---|
The console shows Connect your database; API calls answer 503 E-SETUP † | no database, or one that does not answer, is newer, or predates the schema baseline | curl …/api/v1/setup names the kind; see Doctor → state |
Calls answer 503 E-DB-UNREACHABLE † | the database went away while running; nothing was changed | bring it back; the control plane reconnects by itself |
helm install fails with Job Failed | the preflight hook found a fatal row | run opodcp preflight --kubeconfig … for the full report |
helm install fails naming ports.<port> † | a connector value the chart no longer carries | --set ports.<port>=null, then save it on the Connectors page |
Every page reads "connecting", or 401 | the console has no credential, or the bootstrap token was rotated | sign in again; read the token from Secret <release>-opodcp-admin |
401 credential_in_url | a token was sent in a URL | send it as Authorization: Bearer; a stream ticket (?ticket=) is the only credential a URL may carry |
opodcp doctor exits non-zero | at least one row is red | read the ✘ rows; opodcp runbook <row> |
The doctor's controllers row reads blocked | the replica cannot hold its Lease | grant coordination.k8s.io/leases, or OPODCP_LEADER_ELECTION=0 for one replica |
The doctor's events row is red on a standby replica | more than one replica and no shared event bus | connect NATS on the Connectors page, or --set ha.nats.provide=true |
Stored connectors not applied after a reinstall; alert connector.sealed † | a new install key over a kept database | --set installKey.existingSecret=<the old key's Secret> |
Alert connector.failing † | a connected port keeps failing its doctor check | the port's doctor row names the error; fix it on the Connectors page |
A connector Verify answers 422 E-ADAPTER-TARGET † | the adapter is planned, not built | choose a built adapter |
A notifier test answers 409 E-NO-NOTIFIER † | no alert sink is connected | save OPODCP_NOTIFY_URLS on the Connectors page |
Creating an endpoint
| Symptom | Cause | Fix |
|---|---|---|
E-FIT | no card has the room; the refusal quotes the measured numbers | free a card, use shared with a budget, a smaller quantisation, or tensor parallel; read details.alternatives |
E-AUTO-NOFIT | no rung of the auto ladder fits | the refusal lists the need, the free GPUs, the largest card and every rung's reason |
E-TELEMETRY-WARMING † | the control plane just started and has not read every card | retry after details.retryAfterS; a run waits it out by itself |
E-NO-ACCELERATOR, or nothing measured | no node carries opod.io/gpu-vendor, or the probes are not running | kubectl get nodes -L opod.io/gpu-vendor; kubectl -n opodcp get pods -l app=opodcp-gpu-telemetry -o wide |
E-NODE-TAINTED | the node has a taint no pod of ours tolerates | set the workloads.tolerations value in details.set |
E-NODE-CORDONED | the plan names a cordoned node | kubectl uncordon <node>, or name another node |
E-DISK | the node's model cache has no room for the weights | prune the node's model cache on Machines, or name another node |
E-LICENCE | the placement is beyond the licensed GPUs | install a larger key; see Licensing |
E-QUOTA | the team's GPU quota is full | an admin raises it on Teams & quotas |
E-NO-ENGINE | no worker image for this engine and vendor | choose another engine, or set the image in engineImages |
E-ENGINE-RERANK | a rerank endpoint on an engine that cannot score documents | use an engine from details.engines |
E-SHARED-VENDOR | a shared worker on a non-NVIDIA node | use colocation: dedicated, or an NVIDIA node |
E-KV-RAM | the node's KV tiers and workers exceed its host memory | a smaller tier, or another node |
E-KV-OFFLOAD | a KV tier the engine, vendor or image cannot carry | use kvOffload.tier: cpu, or an engine from details.engines |
E-TP-HEADS, E-PP-LAYERS | the split does not fit the model's heads or layers | take a degree from details.alternatives |
E-GANG-VENDOR | a vLLM or SGLang gang across vendors | every part on one vendor, or llama.cpp |
E-GANG-SUBSTRATE | the LeaderWorkerSet controller is down | helm upgrade --reset-then-reuse-values restores it |
E-MODEL-UNAPPROVED † | the cell requires approval and the version is not approved | approve the version, or pin an approved one |
E-RUN-ACTIVE † | another run holds the endpoint | wait, or cancel it: POST /api/v1/runs/{id}/cancel |
An endpoint that does not serve
| Symptom | Cause | Fix |
|---|---|---|
Stuck converging; waiting names a pod | an image pull, a long model load, or a pod that cannot schedule | read waiting and the run log; the Events tab shows what Kubernetes said |
degraded with Unschedulable … node taint not tolerated | a taint was added after placement and the pod was recreated | remove the taint, tolerate it, or evacuate the node |
degraded with apply: … | the executor's apply keeps failing (RBAC, a refused object) | the doctor's executor row; helm upgrade to the chart that matches the image |
| The create fails with the engine's own error | the engine died at start inside a Running pod | the step's error carries the engine's last lines; GET …/logs?pod=<worker>&previous=true |
| A worker never becomes Ready † | its engine never answered | restarted after workloads.worker.startBudgetMinutes (90); the alert endpoint.engine-unhealthy names the pod |
| A gang's parts run, its coordinator does not | the gang did not form | Shards → Re-form, or opodcp endpoint reform NAME † |
Alert gang.gave-up † | the gang could not form after three tries and is parked | fix the reason in the alert, then roll out or edit the plan to ask again |
Alert plan.node-missing | the plan is pinned to a node that left the cluster | edit the plan to name another node |
Prefetch fails E-HUB-TOKEN-MISSING, E-HUB-TOKEN-REFUSED, E-HUB-ACCESS-DENIED | a gated model and no token, a bad token, or terms not accepted | see Models |
A rollout is refused E-UNSIGNED, E-SIGNATURE, E-UNVERIFIED | images.verify=enforce and an image whose signature fails | see Supply chain |
| A rollout holds at prefetch † | a model signature is invalid | an admin accepts or rejects: POST /api/v1/runs/{id}/signature/accept (or /reject, which fails it E-MODEL-SIGNATURE-REJECTED) |
A rollout fails E-CANARY | the canary was judged and failed; the rollout rolled back | read the step's request and error counts; fix the revision and roll again |
A rollout fails E-EVAL-GATE | the eval scored below plan.eval.minScore | fix the revision, or lower the floor |
A canary decision answers 409 E-CANARY-NOT-HOLDING or E-CANARY-DECIDED | the run holds no canary, or a decision already stands | read the run; a decision is not reversed |
A cancel answers E-RUN-FINISHED † or E-RUN-NOT-CANCELLABLE † | the run already ended, or it is a delete | nothing to cancel; a delete only goes forward |
A live LoRA adapter is refused E-LORA-RANK | its rank is above what the engines were started for | add it to the plan and roll, or use a smaller rank |
Alert endpoint.images-unverified | the endpoint runs images whose signature was not verified (images.verify=warn) | publish the signatures and roll out again |
Alert worker.memory-near-limit † | a worker with a KV tier is near its memory limit | a smaller tier, or more worker memory |
Calls to an endpoint
| Symptom | Cause | Fix |
|---|---|---|
401 | keys are required and the caller sent none, or a revoked or expired key | mint a key; check GET /api/v1/endpoints/{id}/keys |
401 on every keyed call, snapshot old | auth.maxSnapshotAgeSec passed while the control plane was away | bring the control plane back, or set the bound to 0 |
503 with Retry-After | the endpoint is full and its admission hold ran out, or it is parked and waking | raise admission.holdMs, add workers, or keep floor above 0 |
About ten seconds of 503 after a leader restart | the leader is the only front | turn on front doors (plan.gateways.enabled) |
Answers carry X-Opod-Fallback | no serving capacity; the fallback URL answered | check the endpoint's workers |
/v1/files or /v1/batches answer 501 batch_store_not_configured | no object store for the batch API (E-BATCH-STORE) | connect the batchfiles store on the Connectors page and restart |
Scaling
| Symptom | Cause | Fix |
|---|---|---|
status.scaling.blocked; alert autoscale.no-capacity | the next worker cannot be placed | free capacity, raise the licence or quota, or add a growth shape |
Alert autoscale.grant-below-floor | the ledger granted fewer workers than the plan's floor | free capacity, or lower the floor |
ceiling below max | what the ledger, licence and quota approve | nothing, unless you expected more |
Alert autoscale.scaler-unhealthy | KEDA's operator is down or its trigger cannot reach the leader | kubectl -n opodcp get pods -l app=keda-operator; --set autoscaler.adapter=embedded takes scaling back |
the server could not find the requested resource applying a ScaledObject | KEDA's CRDs are gone after substrate.keda.enabled was toggled off | helm template … --set substrate.keda.enabled=true | kubectl apply --server-side -f - |
E-SCALER-ROWS, or E-SCALER-PD † | the plan has several worker rows, or prefill/decode pairs, under autoscaler.adapter=keda | one row, a fixed set (autoscale.max: 0), or autoscaler.adapter=embedded |
E-PARK-FLOOR | parked gangs leave fewer serving than the floor | set autoscale.floor: 0, or unpark a gang |
Machines
| Symptom | Cause | Fix |
|---|---|---|
An evacuate or drain is refused E-LEADER-NOWHERE | no other node may hold a leader on this one | uncordon a node, or lift an opod.io/leaders=avoid fence |
A drain is refused E-DRAIN-CONFIRM | the foreign pods on the node changed since the preview | read the preview again and send its new confirm token |
Removing a node is refused E-NODE-READY or E-NODE-HOLDS-OURS | the node is still Ready, or still runs our pods | cordon and evacuate it first |
Alert node.remnant † | pods of ours left the API without proof their processes ended; the node is cordoned | it resolves once the node is Ready long enough; check the node's kubelet |
Alert gpu.held-outside † | something outside opod uses a card; nothing of ours is placed there | leave it, or reset the card from Machines when no process is on it |
Alert endpoint.foreign-objects, and a create is refused E-FIT with held by workloads of ours that no endpoint in this store owns † | worker pods labelled as ours, under an endpoint id this control plane does not hold, have the node's cards; the placer counts those cards as taken | kubectl -n opodcp get deploy,lws -l opod.io/endpoint-id=<id> names them; delete them if nothing owns them, and the cards are free on the next 20 s read |
A card reset is refused E-CARD-BUSY † | a process is on the card, whoever's | stop the processes first |
Alert gpu.unhealthy | the probe read uncorrected ECC errors or a hardware slowdown | the card is fenced for new placements; check the hardware |
Alert node.cache-low | the node's model cache is nearly full | prune the cache on Machines; a prune while cache.gc.mode=off is refused E-CACHE-GC-OFF |
Usage and the database
| Symptom | Cause | Fix |
|---|---|---|
| The database keeps growing | no usage sink, retention off, or a sink that refuses | connect a sink; set OPODCP_USAGE_RETENTION; fix the sink or skip rows explicitly |
Alert usage.no-sink; the doctor's usage row is red | no sink, and 10,000 or more rows buffered | connect the store you keep usage in (OPODCP_USAGE_DSN) |
Alert usage.sink-holding | the sink is behind and rows are kept past retention | fix the sink, or POST /api/v1/usage/sink/skip?before=… as an admin |
Usage 0 rows in a sink, many in the spool | the sink's user may not create its table, or manual mode with steps pending † | Connectors → usage → Verify shows the grant or the SQL |
Last updated · Source: content/docs/control-plane-operate/troubleshooting.mdx · View as Markdown