debian: seeing extra cgroups for collectd plugins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Jim Gauld |
Bug Description
Brief Description
-----------------
Seeing extra 'could not find cgroup' logs for collectd cpu and memory plugins. There are new cgroup directories for *.mount and *.scope see under /sys/fs/cgroup/* that should not be picked up by these plugins. This gives flood of useless logs.
Severity
--------
Provide the severity of the defect.
Minor: Feature usable, but has poor optics and log flooding.
Steps to Reproduce
------------------
Debian fresh install. Look at /var/log/
Expected Behavior
------------------
Should only see output like this (for cpu and memory plugins):
collectd[900868]: info platform memory usage: Usage: 52.4%; Reserved: 8000.0 MiB, Platform: 4193.8 MiB (Base: 3088.7, k8s-system: 1105.1), k8s-addon: 0.0
collectd[900868]: info 4K memory usage: Anon: 21.4%, Anon: 4071.0 MiB, cgroup-rss: 4208.3 MiB, Avail: 14936.1 MiB, Total: 19007.1 MiB
collectd[900868]: info 4K numa memory usage: node0, Anon: 20.92%, Anon: 4071.0 MiB, Avail: 15389.6 MiB, Total: 19460.6 MiB
collectd[900868]: info platform cpu usage plugin Usage: 16.2% (avg per cpu); cpus: 4, Platform: 15.8% (Base: 11.8, k8s-system: 4.0), k8s-addon: 0.0
Actual Behavior
----------------
e.g., flood of logs every 30 seconds like this for both cpu and memory plugin
2022-06-
Reproducibility
---------------
100%, is due to new cgroup configuration on Debian
System Configuration
-------
All systems.
Branch/Pull Time/Commit
-------
BUILD_ID=
+ Required Joao Paulo Taveras Musico's in-progress-work to enable collectd plugins.
Last Pass
---------
Worked on CentOS, this is new in Debian.
Timestamp/Logs
--------------
na
Test Activity
-------------
Developer testing
Workaround
----------
None, code changes required.
Changed in starlingx: | |
assignee: | nobody → Jim Gauld (jgauld) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.7.0 stx.monitor |
Fix proposed to branch: master /review. opendev. org/c/starlingx /monitoring/ +/845821
Review: https:/