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
Read-only filesystem issue - hazelcast exporter - 8.3.0 #1011
Comments
I think your mountPath needs to have the full filepath: |
Unfortunately changing the mounthPath as suggested does not help. The origial syntax works in 8.2.9 and stop working in 8.3.x. This is the log for the
Have any of you Zeebe guys tried to mount hazecast like this in 8.3? |
I think I found a solution myself. In addition to adding:
to the
👍 |
@inghak Disabling security is definitely not the right way to make it. The issue comes from this start-up script, where it copies all files from So, to fix that issue, there are 2 things to do, First, mount a new vol under It should be like this:
Yet, that will not work because mkdir will fail in that case because the dir already exists (it should be at lease So, I'd consider that as a bug. Probably we will just add that |
Fixed by #1080, and it will be part of the next release |
Describe the bug
I am adding hazelcast exporter the "Adding dynamic exporters to Zeebe Broker" - way, using Helm charts into Kubernetes. This works in 8.2.9 and not in 8.3.0.
The error is when zeebe pod starts, it logs:
mkdir: cannot create directory ‘/usr/local/zeebe/exporters/’: Read-only file system
.I understand this has to do with the 8.3.0 change to no longer run as root user 0, but rather non-root user 1000. I have tried to fix this, but am struggelig to make it work.
I have done the suggested changes in the upgrade guide:
and alternatively:
And also add to the initcontainer config:
I have also tried to add the
/usr/local/zeebe/exporters
folder as an empty folder withextraVolumeMounts
but then I get error from zeebe pod :already exists
in place ofread-only
error.I have experimented with various flavours to get this to work.
The relevant parts of the zeebe configuration:
To Reproduce
To reproduce, add hazelcast integration using extraInitContainer with Helm 8.2.9 sucessfully, and then do the same with 8.3.0.
Expected behavior
The hazelcast integration should work after upgrade to 8.3.0 and adding the
fsGroup: 1000
.Log/Stacktrace
Full Stacktrace
Environment:
The text was updated successfully, but these errors were encountered: