-
Notifications
You must be signed in to change notification settings - Fork 26
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
error on first time deploy of chart ISPN000512 Cannot acquire lock /opt/infinispan/server/data/___global.lck #97
Comments
I happened to have the exact same problem this morning. It seems that the persistent volume needs to be updated to allow it be writable. Setting |
This also affects our operator infinispan/infinispan-operator#392 Unfortunately we only have the workaround suggested by @rjl79. It would be great to have a better solution for this that didn't require an explicit workaround, but so far investigating this has been a low priority. Any suggestions are very welcome 🙂 |
Thanks for the workaround @rjl79, although I cannot seem to get that to work.
Does this need to run as Root? I don't see anything in values.yaml that I can change related to this. |
another workaround could be to explicitly set the fs group on the pv. See here |
@rigazilla Sorry not quite following how that changes anything. Our situation is we are deploying to a namespace without privileged pod security. The initContainer |
@thetoolsmith , you have security issue or the solution doesn't work? I didn't specify but you don't need the |
Thanks @rigazilla . I updated the config and the containers are starting up now without the need to set privileged on the namespace. |
possibly we could expose the fsgroup workaround via a flag in the values.yaml file |
+1 to allowing this to be configurable. How about allowing a user to specify the entire container securityContext via |
I'm running into this error when deploying this helm chart to eks and not really sure what's going on. This is the first attempt at deploying this.
Our EKS cluster is 1.26
ISPN000512 Cannot acquire lock /opt/infinispan/server/data/___global.lck
install command used:
helm install infinispan-server . -n token-cache
No values overrides being used.
Full stack trace:
The text was updated successfully, but these errors were encountered: