chaosblade icon indicating copy to clipboard operation
chaosblade copied to clipboard

chaoblade-tool does not support cgroupv2, when the container is containerd,”cgroups load failed, cgroups: cgroup deleted“

Open lusains opened this issue 8 months ago • 2 comments

Issue Description

Type: bug report

Describe what you expected to happen

support cgroupv2

How to reproduce it (as minimally and precisely as possible)

  1. config cpu fullload on the chaosblade-box
  2. here is the command : /opt/chaosblade/blade create cri cpu fullload --timeout=905 --cpu-count=2 --cpu-percent=99 --container-id e4a16518e9bef8da1e48c4d2ced37ad56182940da70ceee354c6192c9fe11393 --container-runtime containerd 0 chaosblade-tool-qljdr chaosblade chaosblade-tool
image 4. https://github.com/chaosblade-io/chaosblade-exec-cri/blob/main/exec/executor_common_linux.go#L133 The situation of cgroupv2 is not considered here.

Tell us your environment

image image

Anything else we need to know?

lusains avatar Jun 19 '24 07:06 lusains