-
-
Notifications
You must be signed in to change notification settings - Fork 330
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
./lodestar validator ...
hits Error: EROFS: read-only file system, mkdir
error
#7362
Comments
The validator client will load the keystore files from |
This will not work on k8s. All ConfigMap are mounted RO on k8s. Why can't it use it's current working directory? |
it could do that but there is currently no way to configure the lock file directory |
alternative is to add a hook or prestart script which moves the files from the configmap directory to another one |
Yes, this works but please consider improving the working directory in order to work with ConfigMap. |
what solution would you like to see for this? we can look into implementing something, I don't think we want to change the default behavior how out lock files work but we can add a feature flag maybe, might make sense if you could open another issues for this to track as a feature request if you have something in mind |
Closing this as it is expected that we can't write lock files in a read-only directory.
this should work for now, we are looking into another solution here #7367 |
Describe the bug
I am running
lodestar
as k8s STS with the keystore ConfigMap mounted to/tmp/keystores
directory. Running the validator hits the following error:My manifest portion of the ConfigMap mount:
This happens because ConfigMap is mounted RO.
Expected behavior
No error!
Steps to reproduce
No response
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
v1.25.0
The text was updated successfully, but these errors were encountered: