treydock / cgroup_exporter

Apache License 2.0
19 stars 7 forks source link

slurm-23.11.1 and cgroups.v2 #29

Closed singhsaluja closed 8 months ago

singhsaluja commented 8 months ago

On RHEL-9, slurm-23.11.1 and cgroups.v2. the cgroup_exporter isn't capturing the slurm cgroup job information. ./cgroup_exporter --config.paths "/slurm" --log.level=debug

It has been working smoothly with cgroups.v1 and slurm-22.05.7. Any leads on this would be appreciated. Thank you!

treydock commented 8 months ago

The 1.0.0-rc.0 release supports cgroup v2: https://github.com/treydock/cgroup_exporter/releases/tag/v1.0.0-rc.0

I haven't tagged as 1.0.0 yet as I need to do some more testing on our local RHEL9 cluster that was just upgraded to Slurm 23.11.5 but we're running this RC release in production. The RC release is working just fine for cgroup v1 but need to do more testing our new RHEL9 cluster using cgroup v2.

singhsaluja commented 8 months ago

Thank you @treydock and my bad, switching to 1.0.0-rc0 makes it work perfectly on RHEL9 (cgroupsv.2). Appreciate the response and help.