debian: enable kubernetes cgroupRoot k8s-infra
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Jim Gauld |
Bug Description
Brief Description
-----------------
Re-enable the cgroupRoot k8s-infra for Debian. This was disabled on Debian during the initial integration and is required to have kubernetes collectd cpu and memory plugins. Note this is tied to FM alarming of platform.
Severity
--------
Major: Missing K8S cpu and memory monitoring and alarming.
Steps to Reproduce
------------------
Debian fresh install.
Inspect /var/log/
Expected Behavior
------------------
cat /var/lib/
cgroupDriver: cgroupfs
cgroupRoot: /k8s-infra
See breakdown like this in /var/log/
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
Write down what was expected after taking the steps written above
Actual Behavior
----------------
See that the configured cgroupRoot is / instead of k8s-infra.
cat /var/lib/
cgroupDriver: cgroupfs
cgroupRoot: /
Reproducibility
---------------
100%
System Configuration
-------
Debian all configs.
Branch/Pull Time/Commit
-------
BUILD_ID=
Last Pass
---------
CentOS.
Timestamp/Logs
--------------
na
Test Activity
-------------
Feature Testing, Developer Testing
Workaround
----------
Edit each kubernetes node /var/lib/
change cgroupRoot from "/" to "/k8s-infra"
lock/unlock host
Changed in starlingx: | |
assignee: | nobody → Jim Gauld (jgauld) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.containers stx.debian |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/845828
Review: https:/