Skip to content

Commit 2d36036

Browse files
are-cesclaude
andcommitted
LCORE-2860: create /tmp/data before starting lightspeed-stack pod
The conversation cache config uses db_path=/tmp/data/conversation-cache.db but the directory doesn't exist in a fresh pod. SQLite can't create files in nonexistent directories, causing 500 errors on any conversation endpoint. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 543c3b7 commit 2d36036

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/e2e-prow/rhoai/manifests/lightspeed/lightspeed-stack.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ spec:
3737
key: key
3838
optional: true
3939
image: ${LIGHTSPEED_STACK_IMAGE}
40+
command: ["/bin/sh", "-c", "mkdir -p /tmp/data && exec python3.12 src/lightspeed_stack.py"]
4041
ports:
4142
- containerPort: 8080
4243
# TCP probes avoid HTTP/auth. LCS + Llama handshake and large images can take 60–120s before :8080 listens;

0 commit comments

Comments
 (0)