-
Bug
-
Resolution: Done
-
Critical
-
1.30.0
-
None
-
False
-
None
-
False
-
-
Following test failures on ARM architecture for the dynamic resources (see logs attached), I investigated why and noticed that the read values from the script are not existing and should be changed.
Indeed, container-limits is reading values from `/sys/fs/cgroup/cpu` and `/sys/fs/cgroup/memory`, but looking at available files in the container, those are not existing anymore ...
x86
$ ls /sys/fs/cgroup/ cgroup.controllers cgroup.stat cpu.stat hugetlb.1GB.current hugetlb.2MB.events io.max memory.events.local memory.pressure memory.zswap.max rdma.current cgroup.events cgroup.subtree_control cpu.weight hugetlb.1GB.events hugetlb.2MB.events.local io.pressure memory.high memory.reclaim misc.current rdma.max cgroup.freeze cgroup.threads cpu.weight.nice hugetlb.1GB.events.local hugetlb.2MB.max io.prio.class memory.low memory.stat misc.events cgroup.kill cgroup.type cpuset.cpus hugetlb.1GB.max hugetlb.2MB.numa_stat io.stat memory.max memory.swap.current misc.max cgroup.max.depth cpu.idle cpuset.cpus.effective hugetlb.1GB.numa_stat hugetlb.2MB.rsvd.current io.weight memory.min memory.swap.events pids.current cgroup.max.descendants cpu.max cpuset.cpus.partition hugetlb.1GB.rsvd.current hugetlb.2MB.rsvd.max irq.pressure memory.numa_stat memory.swap.high pids.events cgroup.pressure cpu.max.burst cpuset.mems hugetlb.1GB.rsvd.max io.bfq.weight memory.current memory.oom.group memory.swap.max pids.max cgroup.procs cpu.pressure cpuset.mems.effective hugetlb.2MB.current io.latency memory.events memory.peak memory.zswap.current pids.pea
arm64
$ ls /sys/fs/cgroup/ cgroup.controllers cgroup.threads cpuset.cpus hugetlb.1GB.numa_stat hugetlb.2MB.rsvd.max hugetlb.64KB.events io.pressure memory.numa_stat memory.zswap.current cgroup.events cgroup.type cpuset.cpus.effective hugetlb.1GB.rsvd.current hugetlb.32MB.current hugetlb.64KB.events.local io.stat memory.oom.group memory.zswap.max cgroup.freeze cpu.idle cpuset.cpus.partition hugetlb.1GB.rsvd.max hugetlb.32MB.events hugetlb.64KB.max memory.current memory.pressure misc.current cgroup.kill cpu.max cpuset.mems hugetlb.2MB.current hugetlb.32MB.events.local hugetlb.64KB.numa_stat memory.events memory.reclaim misc.max cgroup.max.depth cpu.max.burst cpuset.mems.effective hugetlb.2MB.events hugetlb.32MB.max hugetlb.64KB.rsvd.current memory.events.local memory.stat pids.current cgroup.max.descendants cpu.pressure hugetlb.1GB.current hugetlb.2MB.events.local hugetlb.32MB.numa_stat hugetlb.64KB.rsvd.max memory.high memory.swap.current pids.events cgroup.procs cpu.stat hugetlb.1GB.events hugetlb.2MB.max hugetlb.32MB.rsvd.current io.bfq.weight memory.low memory.swap.events pids.max cgroup.stat cpu.weight hugetlb.1GB.events.local hugetlb.2MB.numa_stat hugetlb.32MB.rsvd.max io.latency memory.max memory.swap.high rdma.current cgroup.subtree_control cpu.weight.nice hugetlb.1GB.max hugetlb.2MB.rsvd.current hugetlb.64KB.current io.max memory.min memory.swap.max rdma.max
- is cloned by
-
RHPAM-4777 Dynamic resources script is reading wrong container sys files on cgroupsv2
- Closed