You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chaoblade inject CPU fulload fault to k8s pod,report error “cgroups load failed, controller is not supported
Describe what happened (or what feature you want)
excute "blade create k8s container-cpu fullload --container-ids", report “cgroups load failed, controller is not supported”
Describe what you expected to happen
inject successfully
How to reproduce it (as minimally and precisely as possible)
Add " cgroup_no_v1=hugetlb" to kernel startup paramter, and then reboot
after reboot, excute "blade create k8s container-cpu fullload --container-ids 6b6a43d506c21680ba1965b6caee0a36fdc63c265f2f7bcea8dc737ad6ad543e --kubeconfig ~/.kube/config --cpu-percent 48 --namespace xxxxxx --names xxxxxxx --timeout 100", it will report error
Tell us your environment
Debian GNU/Linux 10
Linux 5.15.120
with "cgroup_no_v1=hugetlb" in kernel paramter
blade vesion 1.7.0
Anything else we need to know?
It might be these codes to introduce this error. It will compare the difference between /sys/fs/cgroup/ and /proc/self/mountinfo. if there is a problem,it wirl report ErrControllerNotActive = errors.New("controller is not supported")
Issue Description
chaoblade inject CPU fulload fault to k8s pod,report error “cgroups load failed, controller is not supported
Describe what happened (or what feature you want)
excute "blade create k8s container-cpu fullload --container-ids", report “cgroups load failed, controller is not supported”
Describe what you expected to happen
inject successfully
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
Debian GNU/Linux 10
Linux 5.15.120
with "cgroup_no_v1=hugetlb" in kernel paramter
blade vesion 1.7.0
Anything else we need to know?
It might be these codes to introduce this error. It will compare the difference between /sys/fs/cgroup/ and /proc/self/mountinfo. if there is a problem,it wirl report ErrControllerNotActive = errors.New("controller is not supported")
see
https://github.com/containerd/cgroups/blob/be0e52032b497eef2fbfeb2c03f844721689b442/cgroup1/paths.go#L59
the differences between /sys/fs/cgroup/ and /proc/self/mountinfo (with cgroup_no_v1=hugetlb in kernel startup paramter) are
so I guess it might need upgrade the containerd /cgroups dependency library
The text was updated successfully, but these errors were encountered: