kubekey
kubekey copied to clipboard
`umount /run/calico/cgroup` first before clear cluster
What is version of KubeKey has the issue?
kk version: &version.Info{Major:"3", Minor:"1", GitVersion:"v3.1.8", GitCommit:"dbb1ee4aa1ecf0586565ff3374427d8a7d9b327b", GitTreeState:"clean", BuildDate:"2025-03-26T04:49:07Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}
What is your os environment?
Rocky Linux 9.5
KubeKey config file
A clear and concise description of what happend.
[root@test-node01 kubekey]# mount | grep calico
none on /run/calico/cgroup type cgroup2 (rw,relatime,seclabel)
04:30:56 EDT [ClearOSModule] Remove cluster files
04:30:58 EDT stdout: [test-node03]
rm: cannot remove '/run/calico/cgroup/cgroup.procs': Operation not permitted
rm: cannot remove '/run/calico/cgroup/cpuset.cpus.isolated': Operation not permitted rm: cannot remove '/run/calico/cgroup/misc.current': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/misc.events': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/cgroup.events': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.events': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/io.latency': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/cgroup.procs': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.events.local': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.swap.peak': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.swap.current': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/misc.current': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.swap.max': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.zswap.current': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/cpu.weight': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.swap.events': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/cgroup.max.descendants': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/cpu.stat': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/cpu.weight.nice': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.current': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/pids.current': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.stat': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/pids.events': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/memory.low': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/cgroup.type': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/io.bfq.weight': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/cgroup.stat': Operation not permitted
rm: cannot remove '/run/calico/cgroup/sys-fs-fuse-connections.mount/hugetlb.1GB.events.local': Operation not permitted
Relevant log output
Additional information
No response
我也遇到同样的问题
重启服务器 再操作就好了
重启还不如直接执行 umount 操作