You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Loki should not crash on startup if it doesn't have permission to create a bucket, assuming the bucket already exists.
For security reasons, it's not ideal to grant Loki these permissions.
Environment:
Infrastructure: Kubernetes
Deployment tool: helm
The text was updated successfully, but these errors were encountered:
Describe the bug
Loki won't start if openstack swift storage is configured and swift user doesn't have permissions to create bucket
I believe this line is causing the problem: https://github.com/grafana/loki/blob/v3.1.1/pkg/storage/chunk/client/openstack/swift_object_client.go#L64
I could prepare a MR to fix this, but I don't want to make the decision on how to proceed.
Here are the solutions I see:
To Reproduce
Steps to reproduce the behavior:
loki, version release-3.1.x-89fe788 (branch: release-3.1.x, revision: 89fe788d)
N/A
N/A
The Swift user doesn't have permission to create a bucket. Helm values:
Expected behavior
Loki should not crash on startup if it doesn't have permission to create a bucket, assuming the bucket already exists.
For security reasons, it's not ideal to grant Loki these permissions.
Environment:
The text was updated successfully, but these errors were encountered: