Skip to content

Can't bootstrap cilium-agent due to mount-cgroup permission denied #12769

@ykfq

Description

@ykfq

What happened?

cilium-agent can not bootstrap, pod STATUS: Init:CrashLoopBackOff
kubectl describe pod shows the containers mount-cgroup、apply-sysctl-overwrites、install-cni-binaries crashed one after another until we set the pod's securityContext.privileged to true:

Image

What did you expect to happen?

The cilium daemonset should applied with all pods in Running state.

How can we reproduce it (as minimally and precisely as possible)?

container_manager: containerd
kube_network_plugin: cilium
kube_version: 1.32.10
etcd_version: 3.5.24
cilium_version: 1.18.4
cilium_cli_version: 0.18.8

OS

Rocky Linux 9

Version of Ansible

2.17.14

Version of Python

3.12.11

Version of Kubespray (commit)

Release v2.29.0

Network plugin used

cilium

Full inventory with variables

Image

Command used to invoke ansible

ansible-playbook -i inventory/mycluster/inventory.ini cluster.yml

Output of ansible run

Image

Anything else we need to know

RockyLinux: 9.2
getenforce: Permissive

Metadata

Metadata

Assignees

No one assigned

    Labels

    Rocky Linux 9kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions