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

Update dir ownership for additionalVolumeMounts in initContainers #229

Open
BlueBlueSummer opened this issue Aug 20, 2024 · 0 comments
Open

Comments

@BlueBlueSummer
Copy link

As of now, initContainers only update following mountpath during init step, but not for additionalVolumeMounts.
image

Background: I want to add an NFS for snapshot dir, and I add following configs,
`additionalVolumes:

  • name: efs-mount
    nfs:
    path: /
    server: fs-xxxx.efs.eu-central-1.amazonaws.com

additionalVolumeMounts:

  • name: efs-mount
    mountPath: "/qdrant/efs-snapshots"`

In this case, qdrant will fail to start due to permission issue.
Panic occurred in file lib/storage/src/content_manager/toc/mod.rs at line 126: Can't create a directory for snapshot of xxx: Permission denied (os error 13)

I tried to set additionalVolumeMounts to /qdrant/snapshots, but we already have a default item for this, so there will be 2 volumes mounting on same path, and cause failure
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant