StarlingX system monitoring and repoting tools
Go to file
Caio Bruchert 8f404ea66c Fix GM inconsistent data
In some uncommon cases, after disabling GNSS, the CGU information shows
the hardware state unstable for over 20 minutes. GNSS-1PPS and DPLL
status cycles through several states until stabilizing. During this
time, If the clock class is 6 and DPLL moves to freerun, collectd will
wrongly change the clock class to 248 but leave clockAccuracy,
offsetScaledLogVariance, timeSource, timeTraceable and
frequencyTraceable with the previous values.

This commit improves this situation with 3 fixes:
1. When changing the clock class to 248 when DPLL is in freerun, set
   other GM variables accordingly
2. During collectd cycle, read CGU only once per PCI address
3. Fix clock class moving to 248 and back when restarting collectd

Test Plan:
PASS: ensure GM variables are correct when going from clock class 6 to
      248 (freerun)
PASS: ensure CGU is read once per PCI address
PASS: ensure clock class does not change when restarting collectd

Closes-Bug: 2084933

Change-Id: Iad43b883938a5cc7218c1a53a6318ff23cd77cfe
Signed-off-by: Caio Bruchert <caio.bruchert@windriver.com>
2024-10-18 14:43:08 -03:00
collectd-extensions Fix GM inconsistent data 2024-10-18 14:43:08 -03:00
kube-cpusets Remove CentOS/OpenSUSE build support 2024-04-26 14:14:49 -04:00
kube-memory Remove CentOS/OpenSUSE build support 2024-04-26 14:14:49 -04:00
monitor-tools Remove CentOS/OpenSUSE build support 2024-04-26 14:14:49 -04:00
vm-topology Remove CentOS/OpenSUSE build support 2024-04-26 14:14:49 -04:00
.gitignore Remove python2 jobs from zuul for this repo 2023-04-28 18:24:13 +00:00
.gitreview Add a .gitreview file to the new repo 2019-09-09 09:35:13 -05:00
.zuul.yaml Merge "Fix github mirroring for this repo" 2023-05-01 20:51:03 +00:00
CONTRIBUTING.rst Adding zuul jobs for new repo 2019-09-09 14:37:23 -05:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:34:25 -04:00
debian_iso_image.inc Debian: monitoring: update debian_iso_image.inc 2022-11-22 10:26:59 +08:00
debian_pkg_dirs Add debian_pkg_dirs for stx/monitoring 2022-04-05 11:29:17 -03:00
github_sync.trigger Trigger upload job to upload repo to GitHub 2020-02-07 10:13:03 -05:00
HACKING.rst Adding zuul jobs for new repo 2019-09-09 14:37:23 -05:00
requirements.txt Adding zuul jobs for new repo 2019-09-09 14:37:23 -05:00
test-requirements.txt Fix zuul errors due to changes in dependencies 2021-04-26 11:45:02 -04:00
tox.ini Update tox.ini to work with tox 4 2022-12-27 01:20:28 +00:00