#support

NFS-related Issue with file signoz.db

TLDR Steve experienced NFS-related issues with the signoz.db file. Srikanth indicated untested compatibility with NFS. Steve resolved the issue by using hostFile paths and regular back-up.

Powered by Struct AI
7
3mo
Solved
Join the chat
Aug 11, 2023 (3 months ago)
Steve
Photo of md5-b2010575b99d9a0f909da889d018b583
Steve
10:15 PM
ah, ok I've sort of proven that now. Redirecting the query service to use a hostPath temporarily for the signoz.db file, the query service comes up. Anyone have any idea why I cannot use an NFS provision for signoz.db file without getting: ? The issue is definitely NFS related
Image 1 for ah, ok I've sort of proven that now.   Redirecting the query service to use a hostPath temporarily for the signoz.db file, the query service comes up.    Anyone have any idea why I cannot use an NFS provision for signoz.db file without getting:  ?   The issue is definitely NFS related
Aug 14, 2023 (3 months ago)
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
01:56 AM
Steve
Photo of md5-b2010575b99d9a0f909da889d018b583
Steve
06:27 PM
ok thanks
06:29
Steve
06:29 PM
We've worked around it. There are issues relating to any sort of file-share mounting that relates to the uid/gid that each respective component is using. zookeeper pod is one example that prevented me from mounting a share on the K8s node and using hostpath provision for it.
06:31
Steve
06:31 PM
However, all pods work fine on hostpath, as long as you don't try to mount it on a fileshare, as long as we modify the various place where the securityContext is specifying different uid's that don't resolve all of the permissions issues.
06:32
Steve
06:32 PM
In the end, we worked around it by either altering the gid/uids, and not mounting. Just leaving on the hostpath. Create a cron job to back up every 15 minutes or so to the share
06:33
Steve
06:33 PM
Strange thing about zookeeper was that even if you alter its securityContext to runas root.....it will still write some of its data to the volume as uid 1000