Inference API timeout connecting to PostgreSQL after firewall rule update

Server rack with blinking green lights

Problem Description The inference API service, built with FastAPI and using psycopg2/SQLAlchemy to query a PostgreSQL instance, started returning HTTP 504 timeouts after a recent firewall rule change. The API logs contain repeated connection errors such as: 2026-08-31 14:02:13,842 ERROR inference.api.handlers – could not connect to server: Connection timed out (0.00s) Is the server running … Read more

Google Gemini query latency spikes in staging during peak CI load

a person holding a cell phone in their hand

Problem: Google Gemini Query Latency Spikes in Staging During Peak CI Load During nightly integration runs the staging environment experiences Gemini model response times up to 5× the SLA threshold (e.g., 300 ms → 1.5 s). The spikes are correlated with the start of a large CI batch (≈200 concurrent test jobs). Symptoms include: Latency histogram in … Read more

Permission denied on PVC mount during blue‑green rollout of Hugging Face Transformers

A white robot car toy with blue and red stripes

Problem Description A blue‑green rollout of a Hugging Face transformers service on Kubernetes fails during container start‑up. The new pods report: MountVolume.SetUp failed for volume “model-pvc”: permission denied, are you root? … OSError: [Errno 13] Permission denied: ‘/model/pytorch_model.bin’ Traceback (most recent call last): File “/app/serve.py”, line 42, in <module> model = AutoModel.from_pretrained(“/model”) File “…/transformers/modeling_utils.py”, line … Read more

Kubernetes pod crash loop after canary deploying Hugging Face Transformers model

A white robot car toy with blue and red stripes

Problem Description A canary rollout of a Hugging Face transformers model on a Kubernetes cluster results in the newly created pods entering CrashLoopBackOff. The failure manifests during the model initialization phase, before the inference server becomes ready. Typical log excerpts include: 2024-08-30T12:15:42.123Z ERROR [model_loader] RuntimeError: CUDA out of memory. Tried to allocate 12.34 GiB. This … Read more

LangChain RetrievalQA returns empty answer after canary deployment on Kubernetes

photo of computer cables

Problem Description During a canary rollout of a LangChain RetrievalQA service on a Kubernetes cluster, the API began returning empty strings or irrelevant text despite logs confirming that documents were successfully retrieved from Pinecone. The stable version of the service continues to produce correct, concise answers, while the canary pods intermittently emit responses such as: … Read more

Weaviate RAG prompt rendering error after updating template placeholders

photo of computer cables

Problem – RAG Prompt Rendering Failure After Updating Template Placeholders In a staging deployment of Weaviate (Docker Compose, PostgreSQL vector store, generative AI module v1.22), updating the prompt_template.yaml to replace the built‑in {{question}} placeholder with a custom name (e.g., {{user_query}}) caused the generative endpoint to return HTTP 500. The logs contain errors such as: Error rendering … Read more

Canary Elasticsearch pods timing out after Calico network policy change

photo of computer cables

Problem – Canary Elasticsearch Pods Time Out After Calico NetworkPolicy Change During a canary rollout of a new Elasticsearch version, pods labeled app=es-canary were unable to reach the primary elasticsearch-master service. All HTTP requests to port 9200 and transport requests to port 9300 resulted in connection‑timeout errors, causing indexing and query failures and halting the … Read more

AMD GPU nodes TLS handshake failure to artifact storage after driver update

Amd ryzen 6000 series processor on circuit board background

AMD GPU Nodes TLS Handshake Failure to Artifact Storage After Driver Update Problem Description After upgrading the ROCm driver suite to 6.0.3 on a mixed‑GPU Kubernetes cluster (NVIDIA A100/H100 and AMD Instinct MI250), all pods scheduled on AMD GPU nodes began failing to download model artifacts from the central artifact-storage service (Azure Blob, S3, or … Read more

Weaviate text generation ignores stop sequence on edge node

Rows of black server racks with white logos in a data center

Problem: Weaviate text generation ignores the configured stop sequence on edge nodes When running the /v1/generate endpoint on resource‑constrained edge devices (e.g., ARM64 Jetson Nano, Raspberry Pi, or IoT gateway VMs), the LLM backend continues producing tokens past the user‑defined stop sequence. The symptom is a runaway response that quickly exhausts memory and CPU, often ending … Read more

Weaviate scheduler pods pending due to node selector mismatch in GKE

a rack of servers in a server room

Problem In a Google Kubernetes Engine (GKE) cluster running a Weaviate deployment, the weaviate-scheduler pods remain in the Pending state indefinitely. The kubectl describe pod output shows a scheduling failure related to node selector constraints, despite apparent node capacity. Root Cause The Weaviate Helm chart defines a nodeSelector for the scheduler component that targets a … Read more