-
Notifications
You must be signed in to change notification settings - Fork 327
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
[1.18] RHEL 8.10 + Kubernetes 1.29.0 + CRI-O 1.32: Container creation error: writing file devices.allow: Operation not permitted #1599
Comments
If you just need a RPM for RHEL8: https://build.opensuse.org/projects/home:alvistack/packages/containers-crun-1.18.2/repositories/AlmaLinux_8/binaries BTW, Kubernetes 1.29.x should combine with CRI-O 1.29.x, shouldn't be CRI-O 1.32.x... |
@hswong3i Good catch, it seems cri-o got updated with the recent OS patches. I have downgraded it back to v1.29.9 and the cluster is healthy now. Thank you! |
We also ran into this issue after updating to Enabling cgroups v2 seemed to be a straightforward workaround. strace of the error:
|
At least #1589 reported Ubuntu 20.04 + cgroup v1 + crun 1.8.0 (bug) / 1.8.2 (fixed). If case still happening with EL8, I guess kernel version does matter? @giuseppe any idea? |
that might be something different. @jthiltges can you confirm it was crun 1.18.2 ? |
Testing above was with EL8.10 (Alma), and the OBS build of cri-o:
Downgrading to cri-o-1.29.9 gave crun 1.17. The issue did not appear, matching up with Abdullahxz's comment.
|
@giuseppe I can confirm the issue which @jthiltges posted (Almalinux 8.10): broken:
working:
Error:
|
@discostur thanks, it seems to affect cgroup v1. Could you share the pod spec so I'll try to reproduce locally? |
@giuseppe it was not specific to a pod - the error was related to all pods running on that node. So crio / kubelet was not able to start any pod. For example kube-proxy:
|
I wonder if it is a systemd version that is too old |
|
Seems to be fixed if you switch / enable |
We have been experiencing this after patching OS. Any chance this is related to #1589?
cgroup related information:
The text was updated successfully, but these errors were encountered: