Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when PVC is mounted to weaviate container #326

Open
shrijit-narkar opened this issue Nov 12, 2024 · 1 comment
Open

Issue when PVC is mounted to weaviate container #326

shrijit-narkar opened this issue Nov 12, 2024 · 1 comment
Labels
investigating Bugs that are still being investigated whether they are valid

Comments

@shrijit-narkar
Copy link

shrijit-narkar commented Nov 12, 2024

Description

Installation

  • Docker installation on kubernetes pod

Weaviate Deployment

  • Docker Deployment on kubernetes pod

Details

Have installed Verba and Weaviate containers on a single pod in kubernetes. When I set PERSISTENCE_DATA_PATH to '/var/lib/weaviate' and mount a pvc on that path, Verba is unable to connect to Weaviate. (I am selecting Docker instance to connect to from Verba UI).
When I don't mount a pvc to the weaviate container, everything is working fine. But when I am mounting a PVC, I am getting below error:
Failed to connect to Weaviate object existence! Unexpected status code: 500, with response body: None.

When I checked the weaviate container logs, I can find below,

{"build_git_commit":"64457c2","build_go_version":"go1.22.9","build_image_tag":"v1.27.2","build_wv_version":"1.27.2","error":"init shard "verba_config_8tB2n31NCSSP": init shard "verba_config_8tB2n31NCSSP": init prop "config": value index: init disk segments: init segment segment-1731316996864028994.db**: unexpected error loading segment** "/var/lib/weaviate/verba_config/8tB2n31NCSSP/lsm/property_config/segment-1731316996864028994.db": runtime error: slice bounds out of range [:419430404] with capacity 12748","level":"error","msg":"Unable to load shard 8tB2n31NCSSP: init shard "verba_config_8tB2n31NCSSP": init shard "verba_config_8tB2n31NCSSP": init prop "config": value index: init disk segments: init segment segment-1731316996864028994.db: unexpected error loading segment "/var/lib/weaviate/verba_config/8tB2n31NCSSP/lsm/property_config/segment-1731316996864028994.db": runtime error: slice bounds out of range [:419430404] with capacity 12748","time":"2024-11-12T09:34:21Z"}
{"action":"requests_total","api":"rest","build_git_commit":"64457c2","build_go_version":"go1.22.9","build_image_tag":"v1.27.2","build_wv_version":"1.27.2","class_name":"VERBA_CONFIG","error":"msg:repo.exists code:500 err:get/init local shard "8tB2n31NCSSP", no shutdown: LazyLoadShard::preventShutdown: Unable
to load shard 8tB2n31NCSSP: init shard "verba_config_8tB2n31NCSSP": init shard "verba_config_8tB2n31NCSSP": init prop "config": value index: init disk segments: init segment segment-1731316996864028994.db: unexpected error loading segment "/var/lib/weaviate/verba_config/8tB2n31NCSSP/lsm/property_config/segment-1731316996864028994.db": runtime error: slice bounds out of range [:419430404] with capacity 12748","level":"error","msg":"unexpected error","query_type":"objects","time":"2024-11-12T09:34:21Z"}

@thomashacker
Copy link
Collaborator

Hey, thanks for the issue! Can you share a bit more info about your current setup? Are you deploying the Weaviate instance separately through docker or are you deploying the whole verba application with a weaviate instance inside one container?

@thomashacker thomashacker added the investigating Bugs that are still being investigated whether they are valid label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating Bugs that are still being investigated whether they are valid
Projects
None yet
Development

No branches or pull requests

2 participants