Operator troubleshooting
The first-pass diagnosis path for degraded CALIBER deployments before a failure escalates into full runbook recovery.
Use this page for first-pass diagnosis. If the failure is already severe or indeterminate, jump straight to the Operations runbook.
At a glance
| Symptom | First thing to check | Escalate to |
|---|---|---|
| UI loads but product behavior is degraded | readiness, dependency posture | Health and readiness |
| Workflow runs are not draining | event backend and worker state | Operations runbook |
/readiness is 503 and the blocker names schema | the database was never migrated or is behind this release | run caliber-migrate with the same CALIBER_DATABASE_URL (Health and readiness) |
/readiness is 503 on workflow_queue after a worker was killed or restarted | no worker is reporting (a stale row beside a live worker does not block) | start the worker; its predecessor's row is removed after about five minutes (Health and readiness) |
| File upload or extraction fails | object-store and workflow-storage config | Storage and state |
| Local stack will not boot cleanly | port and dependency configuration | Configuration and provider setup |
| Auth works in the browser but not automation | token, project scope, or CSRF model | Developer troubleshooting |
| Gateway page reports the LLM gateway unreachable | whether the gateway container is actually serving | Gateways |
A page (Aria, Plans, MCP Servers, OpenAPI Integrations, Cookbooks, release-candidate signoff) is missing, or a call answers 404 with reason_code: feature_disabled | the area's feature flag is off (the default for everything except Aria, which ships on): GET /capabilities shows it under features, and detail names the variable | set CALIBER_FEATURE_INTEGRATIONS, CALIBER_FEATURE_COOKBOOKS or CALIBER_FEATURE_RELEASE_CANDIDATES to true and restart (a missing Aria means CALIBER_FEATURE_ARIA was set to false) (Feature flags) |
1. Start with the smallest reliable signal
Before changing configuration, confirm:
- whether the process is alive
- whether readiness is degraded
- which dependency boundary is failing
That avoids masking the real issue with unrelated restarts.
2. Known local bring-up issues
The local launcher already guards one common failure mode: host-port collisions around MLFLOW_PORT, CALIBER_PORT, and MLFLOW_GATEWAY_PORT.
If the stack still fails to start cleanly, check:
- port ownership
deploy/.envand.env- provider and storage settings
scripts/verify-compose-stack.sh builds and boots the documented stack from the example environment and prints container logs on failure; it is a quick way to tell a local configuration problem from a repository one.
3. The gateway reports unreachable
An unreachable LLM gateway is more often a startup failure than a network one. The MLflow AI Gateway validates every endpoint before it serves any of them, so one unresolved $VAR placeholder can stop the whole server.
Check, in this order:
- Is the container up? A gateway that exits and restarts leaves its port unbound, which CALIBER can only observe as unreachable.
- What did it log at startup? The bundled image drops endpoints whose provider keys are unset and names each one it skipped. That is expected behavior, not a fault.
- Did it exit non-zero? With no endpoint configured at all the container exits and names the keys it looked for. Compose then restarts it in a loop, so a fresh clone with no
OPENAI_API_KEYorANTHROPIC_API_KEYshows the gateway as unreachable. Set one of those keys in the suite-root.envand restart.
A discovered inventory smaller than deploy/mlflow-gateway/gateway.yaml means a provider key is missing, not that the gateway is broken. See Gateways for the full behavior.
4. When to leave troubleshooting and use the runbook
If the failure affects release safety, queue settlement, rollback semantics, or indeterminate external effects, use the runbook immediately.