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

Permission denied when Persistence is enabled #27

Open
ibakshay opened this issue Oct 11, 2024 · 0 comments · May be fixed by #28
Open

Permission denied when Persistence is enabled #27

ibakshay opened this issue Oct 11, 2024 · 0 comments · May be fixed by #28

Comments

@ibakshay
Copy link

ibakshay commented Oct 11, 2024

What did you do?

When persistence.enabled is set to true in the values.yaml , the Perses StatefulSet fails to write to the /perses/globaldatasources directory. The following error appears in the logs:

perses-0 time="2024-10-11T20:54:09Z" level=error msg="unable to create the \"GlobalDatasource\" \"prometheusdemobrowser\"" func="github.com/perses/perses/internal/api/provisioning.(*provisioning).applyEntity" file="/home/runner/work/perses/perses/internal/api/provisioning/provisioning.go:96" error="mkdir /perses/globaldatasources: permission denied"

This issue is caused by insufficient file system permissions on the mounted Persistent Volume.

What did you expect to see?

The application should be able to create directories and write to the /perses/globaldatasources path when persistence is enabled.

No response

Perses version

v0.48.0
ibakshay added a commit to ibakshay/helm-charts that referenced this issue Oct 11, 2024
Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
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

Successfully merging a pull request may close this issue.

1 participant