StarlingX Integration and packaging
Go to file
Eric MacDonald 8841bceb80 Make collectd plugins use FM API V2
Using Fm API V2 allows the collectd plugins to distinguish
between FM connection failures and no existing alarm query
requests on process startup as well as failure to clear or
assert alarms during runtime so that such actions can be
retried on next audit interval.

This allows the plugins to be more robust in its alarm
management and avoids leaving stuck alarms which fixes
the following three reported stuck alarm bugs.

Closes-Bug: https://bugs.launchpad.net/starlingx/+bug/1802535
Closes-Bug: https://bugs.launchpad.net/starlingx/+bug/1813974
Closes-Bug: https://bugs.launchpad.net/starlingx/+bug/1814944

Additional improvements were made to each plugin to handle
failure paths better with the V2 API.

Additional changes made by this update include:

1. fixed stale unmounted filesystems alarm handling
2. percent usage alarm actual readings are updated on change
3. fix of threshold values
4. add 2 decimal point resolution to % usage alarm text
5. added commented FIT code to mem, cpu and df plugins
6. reversed True/False return polarity in interface plugin functions

Test Plan:

Regression:
PASS: normal alarm handling with FM V2 API ; process startup
PASS: normal alarm handling with FM V2 API ; runtime alarm assert
PASS: normal alarm handling with FM V2 API ; runtime alarm clear

PASS: Verify alarms of unmounted fs gets automatically cleared
PASS: Verify interface alarm/clear operation

Robustness:
PASS: Verify general startup behavior of all plugins while FM
      is not running only to see it start at some later time.
PASS: Verify alarm handling over process startup with existing
      cpu alarms while FM not running.
PASS: Verify alarm handling over process startup with existing
      mem alarms while FM not running.
PASS: Verify alarm handling over process startup with existing
      df alarms while FM not running.

PASS: Verify runtime cpu plugin alarm assertion retry handling
PASS: Verify runtime cpu plugin alarm clear retry handling
PASS: Verify runtime cpu plugin handling over process restart
PASS: Verify alarm handling over process startup with existing
      cpu alarms while FM initially not running and then started.

PASS: Verify runtime mem plugin alarm assertion retry handling
PASS: Verify runtime mem plugin alarm clear retry handling
PASS: Verify runtime mem plugin handling over process restart
PASS: Verify alarm handling over process startup with existing
      mem alarms while FM initially not running and then started.

PASS: Verify runtime df plugin alarm assertion retry handling
PASS: Verify runtime df plugin alarm clear retry handling
PASS: Verify runtime df plugin handling over process restart
PASS: Verify alarm handling over process startup with existing
      df alarms while FM initially not running and then started.

PASS: Verify alarm set/clear threshold boundaries for cpu plugin
PASS: Verify alarm set/clear threshold boundaries for memory plugin
PASS: Verify alarm set/clear threshold boundaries for df plugin

New Features: ... threshold exceeded ; threshold 80.00%, actual 80.33%
PASS: Verify percent usage alarms are refreshed with current value
PASS: Verify percent usage alarms show two decimal points

Change-Id: Ibe173617d11c17bdc4b41115e25bd8c18b49807e
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2019-05-01 12:13:27 -04:00
base Update for systemd patches (CVE-2018-15688) 2019-04-10 11:00:11 -05:00
ceph Enable Flake8 Docstring Errors 2019-04-18 11:50:45 -04:00
config Adding patch to support new Stein version of keystone 2019-04-18 18:01:20 +00:00
config-files Merge "Add notices to Intel authored files." 2019-03-22 07:04:27 +00:00
database Remove pike/master files 2019-04-03 22:30:59 -04:00
devstack Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
doc Clean up and standardize landing pages 2018-12-27 17:06:20 -08:00
filesystem Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
grub Fix pxe boot fail, for incorrect folder access /pxe/EFI/ on controller-0 2019-02-12 05:06:53 +08:00
kernel Upgrade qat driver to latest version for CentOS 7.6 2019-04-24 20:11:26 +08:00
kubernetes Add spec file for building etcd 3.2.24 2019-04-10 12:51:55 -05:00
ldap Add notices to Intel authored files. 2019-03-20 10:31:10 -06:00
logging Enable Flake8 Docstring Errors 2019-04-18 11:50:45 -04:00
monitoring Make collectd plugins use FM API V2 2019-05-01 12:13:27 -04:00
networking Add pmon configuration file for ovs-vswitchd 2019-04-12 20:41:32 +08:00
python replace python-gunicorn srpm with rpm 2019-04-23 00:51:41 +00:00
releasenotes Update config 2019-01-30 16:40:20 -08:00
security Fix RPM release name "el7" misspelled problem 2019-03-29 08:59:43 +08:00
storage-drivers Add hooks for python wheel generation 2018-10-23 10:35:32 -04:00
tools Enable Flake8 Docstring Errors 2019-04-18 11:50:45 -04:00
utilities Enable Flake8 Docstring Errors 2019-04-18 11:50:45 -04:00
virt libvirt and qemu patch reduction 2019-04-23 15:37:42 -04:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.zuul.yaml Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
centos_dev_docker_images.inc Create the stable/dev wheel and image build files 2019-03-20 14:09:34 -04:00
centos_guest_image.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_guest_image_rt.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_iso_image.inc replace python-gunicorn srpm with rpm 2019-04-23 00:51:41 +00:00
centos_pkg_dirs replace python-gunicorn srpm with rpm 2019-04-23 00:51:41 +00:00
centos_pkg_dirs_installer Relocate anaconda to stx-integ/base/anaconda 2018-08-01 15:37:12 -04:00
centos_pkg_dirs_rt Relocate drbd to stx-integ/kernel/kernel-modules/drbd 2018-08-01 15:31:44 -04:00
centos_stable_docker_images.inc Create the stable/dev wheel and image build files 2019-03-20 14:09:34 -04:00
centos_stable_wheels.inc Add libvirt module to stable wheels for image build 2019-04-04 22:54:04 -04:00
pylint.rc Adding a pylint tox and zuul job for stx-integ 2019-01-08 11:14:46 -06:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini Merge "Enable Flake8 Docstring Errors" 2019-04-22 17:39:28 +00:00

README.rst

integ

StarlingX Integration