Skip to content
Opod

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

  1. Ask the doctor

    kubectl -n opodcp exec deploy/opodcp -- /opodcp doctor

    Every ✘ row is a fault. opodcp runbook ROW prints its causes and fixes.

  2. 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}'

    waiting names the pod and what it waits on; lastError is the last thing that failed.

  3. 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 (the E-… code) and remedies. 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

SymptomCauseFix
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 baselinecurl …/api/v1/setup names the kind; see Doctor → state
Calls answer 503 E-DB-UNREACHABLE †the database went away while running; nothing was changedbring it back; the control plane reconnects by itself
helm install fails with Job Failedthe preflight hook found a fatal rowrun 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 401the console has no credential, or the bootstrap token was rotatedsign in again; read the token from Secret <release>-opodcp-admin
401 credential_in_urla token was sent in a URLsend it as Authorization: Bearer; a stream ticket (?ticket=) is the only credential a URL may carry
opodcp doctor exits non-zeroat least one row is redread the ✘ rows; opodcp runbook <row>
The doctor's controllers row reads blockedthe replica cannot hold its Leasegrant coordination.k8s.io/leases, or OPODCP_LEADER_ELECTION=0 for one replica
The doctor's events row is red on a standby replicamore than one replica and no shared event busconnect 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 checkthe 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 builtchoose a built adapter
A notifier test answers 409 E-NO-NOTIFIER †no alert sink is connectedsave OPODCP_NOTIFY_URLS on the Connectors page

Creating an endpoint

SymptomCauseFix
E-FITno card has the room; the refusal quotes the measured numbersfree a card, use shared with a budget, a smaller quantisation, or tensor parallel; read details.alternatives
E-AUTO-NOFITno rung of the auto ladder fitsthe 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 cardretry after details.retryAfterS; a run waits it out by itself
E-NO-ACCELERATOR, or nothing measuredno node carries opod.io/gpu-vendor, or the probes are not runningkubectl get nodes -L opod.io/gpu-vendor; kubectl -n opodcp get pods -l app=opodcp-gpu-telemetry -o wide
E-NODE-TAINTEDthe node has a taint no pod of ours toleratesset the workloads.tolerations value in details.set
E-NODE-CORDONEDthe plan names a cordoned nodekubectl uncordon <node>, or name another node
E-DISKthe node's model cache has no room for the weightsprune the node's model cache on Machines, or name another node
E-LICENCEthe placement is beyond the licensed GPUsinstall a larger key; see Licensing
E-QUOTAthe team's GPU quota is fullan admin raises it on Teams & quotas
E-NO-ENGINEno worker image for this engine and vendorchoose another engine, or set the image in engineImages
E-ENGINE-RERANKa rerank endpoint on an engine that cannot score documentsuse an engine from details.engines
E-SHARED-VENDORa shared worker on a non-NVIDIA nodeuse colocation: dedicated, or an NVIDIA node
E-KV-RAMthe node's KV tiers and workers exceed its host memorya smaller tier, or another node
E-KV-OFFLOADa KV tier the engine, vendor or image cannot carryuse kvOffload.tier: cpu, or an engine from details.engines
E-TP-HEADS, E-PP-LAYERSthe split does not fit the model's heads or layerstake a degree from details.alternatives
E-GANG-VENDORa vLLM or SGLang gang across vendorsevery part on one vendor, or llama.cpp
E-GANG-SUBSTRATEthe LeaderWorkerSet controller is downhelm upgrade --reset-then-reuse-values restores it
E-MODEL-UNAPPROVED †the cell requires approval and the version is not approvedapprove the version, or pin an approved one
E-RUN-ACTIVE †another run holds the endpointwait, or cancel it: POST /api/v1/runs/{id}/cancel

An endpoint that does not serve

SymptomCauseFix
Stuck converging; waiting names a podan image pull, a long model load, or a pod that cannot scheduleread waiting and the run log; the Events tab shows what Kubernetes said
degraded with Unschedulable … node taint not tolerateda taint was added after placement and the pod was recreatedremove 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 errorthe engine died at start inside a Running podthe step's error carries the engine's last lines; GET …/logs?pod=<worker>&previous=true
A worker never becomes Ready †its engine never answeredrestarted after workloads.worker.startBudgetMinutes (90); the alert endpoint.engine-unhealthy names the pod
A gang's parts run, its coordinator does notthe gang did not formShards → Re-form, or opodcp endpoint reform NAME †
Alert gang.gave-up †the gang could not form after three tries and is parkedfix the reason in the alert, then roll out or edit the plan to ask again
Alert plan.node-missingthe plan is pinned to a node that left the clusteredit the plan to name another node
Prefetch fails E-HUB-TOKEN-MISSING, E-HUB-TOKEN-REFUSED, E-HUB-ACCESS-DENIEDa gated model and no token, a bad token, or terms not acceptedsee Models
A rollout is refused E-UNSIGNED, E-SIGNATURE, E-UNVERIFIEDimages.verify=enforce and an image whose signature failssee Supply chain
A rollout holds at prefetch †a model signature is invalidan admin accepts or rejects: POST /api/v1/runs/{id}/signature/accept (or /reject, which fails it E-MODEL-SIGNATURE-REJECTED)
A rollout fails E-CANARYthe canary was judged and failed; the rollout rolled backread the step's request and error counts; fix the revision and roll again
A rollout fails E-EVAL-GATEthe eval scored below plan.eval.minScorefix the revision, or lower the floor
A canary decision answers 409 E-CANARY-NOT-HOLDING or E-CANARY-DECIDEDthe run holds no canary, or a decision already standsread 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 deletenothing to cancel; a delete only goes forward
A live LoRA adapter is refused E-LORA-RANKits rank is above what the engines were started foradd it to the plan and roll, or use a smaller rank
Alert endpoint.images-unverifiedthe 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 limita smaller tier, or more worker memory

Calls to an endpoint

SymptomCauseFix
401keys are required and the caller sent none, or a revoked or expired keymint a key; check GET /api/v1/endpoints/{id}/keys
401 on every keyed call, snapshot oldauth.maxSnapshotAgeSec passed while the control plane was awaybring the control plane back, or set the bound to 0
503 with Retry-Afterthe endpoint is full and its admission hold ran out, or it is parked and wakingraise admission.holdMs, add workers, or keep floor above 0
About ten seconds of 503 after a leader restartthe leader is the only frontturn on front doors (plan.gateways.enabled)
Answers carry X-Opod-Fallbackno serving capacity; the fallback URL answeredcheck the endpoint's workers
/v1/files or /v1/batches answer 501 batch_store_not_configuredno object store for the batch API (E-BATCH-STORE)connect the batchfiles store on the Connectors page and restart

Scaling

SymptomCauseFix
status.scaling.blocked; alert autoscale.no-capacitythe next worker cannot be placedfree capacity, raise the licence or quota, or add a growth shape
Alert autoscale.grant-below-floorthe ledger granted fewer workers than the plan's floorfree capacity, or lower the floor
ceiling below maxwhat the ledger, licence and quota approvenothing, unless you expected more
Alert autoscale.scaler-unhealthyKEDA's operator is down or its trigger cannot reach the leaderkubectl -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 ScaledObjectKEDA's CRDs are gone after substrate.keda.enabled was toggled offhelm 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=kedaone row, a fixed set (autoscale.max: 0), or autoscaler.adapter=embedded
E-PARK-FLOORparked gangs leave fewer serving than the floorset autoscale.floor: 0, or unpark a gang

Machines

SymptomCauseFix
An evacuate or drain is refused E-LEADER-NOWHEREno other node may hold a leader on this oneuncordon a node, or lift an opod.io/leaders=avoid fence
A drain is refused E-DRAIN-CONFIRMthe foreign pods on the node changed since the previewread the preview again and send its new confirm token
Removing a node is refused E-NODE-READY or E-NODE-HOLDS-OURSthe node is still Ready, or still runs our podscordon and evacuate it first
Alert node.remnant †pods of ours left the API without proof their processes ended; the node is cordonedit 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 thereleave 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 takenkubectl -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'sstop the processes first
Alert gpu.unhealthythe probe read uncorrected ECC errors or a hardware slowdownthe card is fenced for new placements; check the hardware
Alert node.cache-lowthe node's model cache is nearly fullprune the cache on Machines; a prune while cache.gc.mode=off is refused E-CACHE-GC-OFF

Usage and the database

SymptomCauseFix
The database keeps growingno usage sink, retention off, or a sink that refusesconnect a sink; set OPODCP_USAGE_RETENTION; fix the sink or skip rows explicitly
Alert usage.no-sink; the doctor's usage row is redno sink, and 10,000 or more rows bufferedconnect the store you keep usage in (OPODCP_USAGE_DSN)
Alert usage.sink-holdingthe sink is behind and rows are kept past retentionfix the sink, or POST /api/v1/usage/sink/skip?before=… as an admin
Usage 0 rows in a sink, many in the spoolthe 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