StarlingX Fault Management
Go to file
Shuicheng Lin 622ad8d87c Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is
not found

For the all 6 APIs in FaultAPIsV2, will treat alarm non-exist as normal
case, and exception will not be raised. Exception is raised only if
there is operation failure, such as fmclient fail to connect fmManager,
failure in memory allocation, failure in internal structure parse, etc.

Test:
Run each 6 APIs from FaultAPIs and FaultAPIsV2 with below case:
1. with correct alarm id
2. with wrong alarm id
3. with fmManager cannot be connected (Modify fmManager listen port to
   simulate it)
Confirm FaultAPIs's behavior is not changed.
And FaultAPIsV2 raises exception for operation failure only.
Check Events Suppression function in horizon GUI, it works correctly.

Closes-Bug: 1821112

Change-Id: I8ba122b19964613d90e9d0bf4a25134ff60e5c19
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2019-04-01 01:31:49 +08:00
api-ref/source [Doc] API Content Gaps 2019-01-28 09:12:32 -06:00
devstack [devstack] fmManager process launch 2019-03-28 06:13:32 +08:00
doc Clean up and standardize landing pages 2018-12-27 16:59:48 -08:00
fm-api Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
fm-common Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
fm-doc Remove Resource Monitor ; aka rmon, from the load 2019-03-17 11:38:38 -04:00
fm-mgr Improve security by avoiding buffer overflows 2019-01-08 09:55:07 -06:00
fm-rest-api Create the stable wheel and image build files 2019-03-24 21:08:19 -04:00
python-fmclient Remove remote-clients SDK Module from StarlingX 2019-03-25 09:51:49 -04:00
releasenotes Update config 2019-01-30 16:11:23 -08:00
snmp-audittrail Improve security by avoiding buffer overflows 2019-01-08 09:55:07 -06:00
snmp-ext Remove wrs-snmp-mib SDK Module from StarlingX 2019-03-26 16:14:17 -04:00
.gitignore [Doc] OpenStack API Reference Guide 2018-09-25 15:55:02 -07:00
.gitreview Add .gitreview 2018-05-31 07:36:00 -07:00
.zuul.yaml Updates to include cgtsclient and install dirs 2019-03-13 00:39:50 +08: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
README.rst StarlingX open source release updates 2018-05-31 07:36:00 -07:00
centos_iso_image.inc Decouple Fault Management from stx-config 2018-08-17 15:25:35 -04:00
centos_master_docker_images.inc Add fm-rest-api docker image directives files 2019-02-26 19:17:18 +00:00
centos_pike_docker_images.inc Add fm-rest-api docker image directives files 2019-02-26 19:17:18 +00:00
centos_pike_wheels.inc Rename centos_wheels.inc to centos_pike_wheels.inc 2018-11-14 15:06:43 -06:00
centos_pkg_dirs Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
centos_stable_docker_images.inc Create the stable wheel and image build files 2019-03-24 21:08:19 -04:00
centos_stable_wheels.inc Create the stable wheel and image build files 2019-03-24 21:08:19 -04:00
test-requirements.txt Enable additional flake8 checks 2019-02-01 17:07:53 -06:00
tox.ini Merge "DevStack cleanups" 2019-02-06 14:26:19 +00:00

README.rst

stx-fault

StarlingX Fault Management