-
Notifications
You must be signed in to change notification settings - Fork 455
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
host 127.0.0.1:9000: rename /usr/bin/minio /usr/bin/.minio.old: operation not permitted #2319
Comments
Manually editing the STS "works around" the issue as last time. |
I'm wondering: is my setup somehow special or is the upgrade process via operator just not being used much? |
It looks like your set-up doesn't allow renames() there is nothing much we can do here. It looks like the image is treated as immutable in your environment. |
We have tests already for this that work in regular k8s deployment. We don't ever come across any other non k8s deployments so we never really test it. If you can reproduce on k8s or openshift we can take a look at how we can handle these cases. Any other vendor here is out of scope for us. |
There doesn't seem anything special about the container. If I exec into it as root I can perform the rename without issues. So no syscall restrictions, no read-only FS or anything else. This cluster doesn't have any security enforcement or so. I can confirm the permissions on Since I don't often encounter the sticky bit I looked it up again:
The pods as setup by the operator have on all containers: securityContext:
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000 So when running the container via docker with uid 1000 as k8s was instructed to, I get the exact same behavior:
|
Interesting, let me see if I can make that path fully writable for all users. |
@harshavardhana did you also republish the latest images? |
I did @pschichtel |
I have this image in production now, let's see how the next upgrade goes :) |
The chain of operator upgrade issues continues after #2305. This time:
When updating the image in the tenant resource.
The upgrade is from
RELEASE.2024-08-29T01-40-52Z
toRELEASE.2024-09-13T20-26-02Z
.The rest of the setup is identical to #2305.
The text was updated successfully, but these errors were encountered: