Why pods with hostpath volume /sys/fs/cgroup with ubi-init container fails to start with Red Hat OpenShift Container Platform 4.9 ?
Issue
- Why pods with hostpath volume /sys/fs/cgroup with ubi-init container fails to start with Red Hat OpenShift Container Platform 4.9 and not with Openshift 4.6 ?
Error
Error: container create failed: time="2022-03-09T20:42:22Z" level=error msg="container_linux.go:380: starting container process caused: process_linux.go:545: container init caused:
rootfs_linux.go:76: mounting \"/sys/fs/cgroup/systemd\" to rootfs at \"/sys/fs/cgroup/systemd\" caused: mkdir.
/var/lib/containers/storage/overlay/43c34e0dce06d9fd8d08d5a0b96d2146a7c663867d4388e270a3dba229d56069/merged/sys/fs/cgroup/systemd: no such file or directory
Environment
- OpenShift Container Platform > 4.6
- cri-o-1.22.1-21.rhaos4.9.git74a7981.2.el8.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.