Skip to main content
Credential-gate failures are tabled on each Connecting clusters backend page. This page covers everything else.

Install & deploy

PVC stuck Pending. No default StorageClass. Apply a gp3 default before helm install — see AWS & EKS. Pod starts with empty config (customer_config_synthesised_from_env). You omitted --set-file customerConfig.contentYaml=… on helm install — see Deploy the Sariva platform. Pod refuses to start: awsAuthMethod is required. An older wizard wrote credentialSource: github_secrets without the paired awsAuthMethod. Add it in place (oidc or static_keys), or re-run sariva setup wizard --yes:
Ollama model still downloading. sariva validate llm → model not ready means the in-cluster Ollama is still pulling (llama3.1:8b is ~4.7 GB, 2–5 min). Watch: kubectl -n sariva-platform logs -l app=ollama -f.

Docker / VM (no Kubernetes)

The two commands that answer most questions on the VM path:
Container loops but docker compose ps says Started. The classic cause is a host directory mounted into the container that Docker created root-owned: the container runs as a non-root user (appuser, uid 1000), cannot write the directory (the SQLite database, typically), dies at startup, and restart: unless-stopped turns that into a silent crash loop — ps shows Started, the logs show the same startup failure repeating. The wizard-emitted compose avoids this by using the named volume sariva-platform-data for data; if you added a bind mount of your own, create the directory yourself with the right ownership before docker compose up. SSH times out against a Running instance with 3/3 checks. Your security group’s port-22 rule was pinned to “My IP” and your address moved — the rule is stale, not the instance. Re-pin the SSH source in the security group. (And attach an Elastic IP if you haven’t — without one the instance’s address also changes on every stop/start.) Probing the image: your command is swallowed. docker run <image> <cmd> does not run <cmd> — the image’s uvicorn entrypoint swallows it. Override the entrypoint to look around:
file:// credential reference fails FileNotFoundError. The reference is resolved inside the container — the path must be the in-container one (file:///app/secrets/creds.json for a file at ./secrets/creds.json on the host). See file:// and env:// references.

Connectivity

Slack bot not responding — walk in order:
  1. Platform running: kubectl -n sariva-platform get pods on Kubernetes; docker compose ps and docker compose logs platform on the VM path.
  2. Logs show socket_mode connected: True. invalid_auth / not_allowed_token_type → you swapped SLACK_BOT_TOKEN and SLACK_APP_TOKEN.
  3. Bot is in the channel: /invite @sariva-platform.
  4. All 7 OAuth scopes present — missing app_mentions:read stops app_mention events.
Kafka connection refused.
  • DNS fails inside the pod → node-group security group must allow egress to 9092.
  • Authenticates but topics: 0 → API key is scoped to a different cluster than clusterId.
  • MSK + IAM auth refused → pod AWS identity role missing kafka-cluster:Connect.
terraform init provider-not-found. CI runner can’t reach registry.terraform.io — see State backend & CI network (and the air-gapped mirror note). terraform apply NoSuchBucket. State bucket missing or unreachable by the CI role. byob: confirm the bucket name matches what the wizard captured. agent_created: confirm sariva setup state-backend --stage <stage> finished first.

Clusters & credentials

Cluster shows awaiting_credentials after first apply. Expected — the add_cluster Terraform creates the cluster only. DM Sariva to create the observability credential, or attach one via the credential walkthrough. Cluster shows degraded or unreachable with admin_client=NOT_READY. The reachability probe makes a live Kafka admin connection on every cycle (not just a config check), and state_reason names the failure class:
  • Rejected config — the Kafka client refused the built configuration; fix the registration (auth_type / credential material).
  • Authentication/TLS — the broker was reached but refused the connection; fix the credential or the certificate trust (CA).
  • Timeout/unreachable (_TRANSPORT) — no metadata came back: network path, DNS, firewall — or a TLS handshake that never completes. A CA mismatch between client and broker certificates presents this way; if certificates were recently rotated or re-issued, compare ca.crt fingerprints across the TLS Secrets before chasing the network.
A degraded state with monitoring=ok means the metrics adapters still work — only the Kafka admin path is down. After the fix, the next ~60s probe cycle is designed to flip the state back (edge-triggered — one alert per transition). When clusters drift (gitops is the source of truth):
  • Retiring a cluster: drop the module, apply, then sariva cluster remove <alias> --yes — on a VM/Docker install add --api-url http://localhost:8000 (the registry lives inside the container; the watcher never auto-deletes a row).
  • Deleted in UI then re-applied: the watcher UPSERTs the new lkc-*/bootstrap in place; the next ~60s reachability cycle recovers it. No manual step.
  • Alias rename: the watcher registers the new alias; remove the old one explicitly.
  • Orphan row not in gitops: sariva cluster remove <alias> --yes (--api-url http://localhost:8000 on a VM/Docker install; re-added on next tick if still declared in gitops).
Inspect the registry — on the VM path (or anywhere the API is reachable), ask the API instead of the database, with SARIVA_PLATFORM_API_KEY exported:
On Kubernetes:

Microsoft Teams

  • sariva validate teams → skipped → customer_config.yaml has no notifications.teams block; Teams is opt-in, and the wizard writes the block when you choose Teams in its chat-surface step.
  • sariva validate teams → token grant failed → TEAMS_APP_ID / TEAMS_APP_PASSWORD / TEAMS_TENANT_ID don’t match the bot registration — Teams Developer Portal or Azure Bot (a client secret shows its value only when it is created — the ID column is not the secret), or outbound HTTPS to login.microsoftonline.com:443 is blocked.
  • Teams never starts → the platform log shows teams_interface_disabled: TEAMS_APP_ID or TEAMS_APP_PASSWORD is not set in the platform environment (.env on a VM).
  • The messaging endpoint POST /api/teams/messages answers: 400 — the body was not a JSON object (teams_activity_malformed); 503 — Teams is not running on this platform (teams_activity_no_bot_wired); 401 — the token Microsoft signed failed validation (teams_activity_auth_failed); 202 — accepted. A message that fails while being handled still gets 202 and is logged as teams_activity_handler_failed.
  • Uploading the app to Teams fails with “Manifest parsing error message unavailable” → the package came from the Developer Portal’s Download app package (manifest 1.30); build it by hand on schema 1.19 — Install the app in Teams.
  • Alerts never reach a Teams channel → the bot must be installed in that team, and the app’s teams_channel_id must be the channel id (19:...@thread.tacv2); a failed post is logged as per_app_alert_engine_teams_post_failed. See Teams: channels and verification.

Paging

  • PagerDuty signup form rejects your email → consumer-domain block; use a custom-domain email, the Developer signup, or xMatters. See PagerDuty.
  • sariva validate paging → credentials rejected → PagerDuty: the key isn’t an Events API V2 integration key; xMatters: wrong key/secret, or the HTTP Trigger’s authentication isn’t API Key.
  • sariva validate paging → rate-limited → HTTP 429 from the provider; wait a minute and retry.
  • sariva validate paging → unreachable → allow the named host on 443 from the install (events.pagerduty.com or <company>.xmatters.com).
  • sariva validate paging → paging not configured → PAGING_PROVIDER is none/unset (VM) or paging.provider is none (Kubernetes); pick a provider in the wizard.
  • xMatters: accepted but nobody notified / never Terminated → the flow’s recipients or its resolve branch — see xMatters troubleshooting.

Switching LLM backend

Change llm.backend in values.yaml, patch the Secret, helm upgrade:
Picked up on pod restart; no state migration.

Recurring Helm / cluster gotchas

More resources