StarlingX Fault Management
Go to file
Stefan Dinescu 4246a0448d Allow filesystem resize if filesystem alarm present
Doing filesystem resizes is blocked when a node is degraded and
going over 90% filesystem utilization degrades the node.

This prevents the user from clearing the alarm by resizing and
adding more space to a certain filesystem.

To fix this, we check add a new field to every alarm marking
which alarm causes a degrade.

In case of a filesystem resize, we poll all alarms and filter
them for those that are causing a degrade. If the only alarm
that causes a degrade is the filesystem usage alarm, then
it is safe to proceed with the resize.

Change-Id: I9b4a9c34f625ef2669725d489460b15e637c1efc
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-06-28 16:05:54 -04:00
fm-api Allow filesystem resize if filesystem alarm present 2018-06-28 16:05:54 -04:00
fm-common Allow filesystem resize if filesystem alarm present 2018-06-28 16:05:54 -04:00
fm-doc Allow filesystem resize if filesystem alarm present 2018-06-28 16:05:54 -04:00
fm-mgr StarlingX open source release updates 2018-05-31 07:36:00 -07:00
snmp-audittrail StarlingX open source release updates 2018-05-31 07:36:00 -07:00
snmp-ext StarlingX open source release updates 2018-05-31 07:36:00 -07:00
.gitignore Add default test framework 2018-06-09 08:44:12 -05:00
.gitreview Add .gitreview 2018-05-31 07:36:00 -07:00
.zuul.yaml Add default test framework 2018-06-09 08:44:12 -05:00
centos_pkg_dirs Split centos-pkg-dirs along git boundaries. 2018-06-20 16:26:17 -04:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:00 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:00 -07:00
mwa-cleo.map StarlingX open source release updates 2018-05-31 07:36:00 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:36:00 -07:00
test-requirements.txt Add default test framework 2018-06-09 08:44:12 -05:00
tox.ini Add default test framework 2018-06-09 08:44:12 -05:00

stx-fault

StarlingX Fault Management