-
Notifications
You must be signed in to change notification settings - Fork 146
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
[vmstorage] panic: FATAL: cannot remove "/vm-data/indexdb/...": unlinkat /vm-data/indexdb/.../metadata.json: permission denied #749
Comments
Hi @ziouf!
Could you specify the exact version please?
What filesystem do you use? Is it NFS? |
I use the default storage class from my cloud provider (Scaleway). I don't know what is under the hood.
The helm chart version is |
@hagen1778 This is most likely related to https://github.com/VictoriaMetrics/operator/releases/tag/v0.36.0
Maybe it is better to transfer this to operator issues? @ziouf Could you try to add the following env variable to operator and see if that helps? (full list of supported variables can be found here)
|
According to changelog, the issue is caused by the following change:
Is this correct @zekker6 ? |
Yes, it seems to me like it is. |
@Amper @Haleygo I think this change should be a part of BreakingChanges section here https://github.com/VictoriaMetrics/operator/releases/tag/v0.36.0 |
@zekker6 I added the given variable and it seems to solve the issue |
VM operator has
If component existed before operator upgrade and had no customized securityContext, volumes will be already mounted with Components which could encounter this problem:
Temporary fix:
And Fix#1 will be included in next release of operator |
v0.38.0 is released with the fix, close this as completed. |
Describe the bug
At startup, VMStorage crashes with the following message (full log bellow):
To Reproduce
I dont know. It happen on pod restart after upgrade to the latest operator helm chart.
VMStorage is out-of-service even if I force to rollback to previous versions by forcing value of
spec.vmstorage.image.tag
field in VMCluster CRD.Version
vmstorage-20230902-002932-tags-v1.93.3-cluster-0-gf78d8b994d
Logs
Screenshots
No response
Used command-line flags
Additional information
No response
The text was updated successfully, but these errors were encountered: