StarlingX Fault Management
Go to file
fperez e9ba02ab5c Fixing logging for python scripts - FM
This commit complements the previous commit with
same topic:
https://review.opendev.org/c/starlingx/fault/+/815381

This particular commit improves the log inside the
python script, considering others possible fails.

Also, some verifications are added in fmDbUtils class
wich calls the script.

Test Plan:

Log in (/var/log/platform.log):
PASS: Log arguments error calling script.
PASS: Log new database connection problems.
PASS: Log Session commit problems.
PASS: Log problems opening "/etc/fm/events.yaml" file.

Log (in /var/log/fm-manager.log):
PASS: Log Problems opening fm_db_sync_event_suppression.py file.
PASS: Log problems running fm_db_sync_event_suppression.py.

PASS: build and install package.

Closes-bug: 1932324

Signed-off-by: fperez <fabrizio.perez@windriver.com>
Change-Id: I913d6d1282bea346f87f73179f0738c0c17d7446
2021-12-23 14:49:21 -03:00
api-ref/source Removing system uuid from alarms summary 2021-08-12 19:55:39 -04:00
devstack Use DevStack's setup_*() functions for Python packages 2019-05-17 13:11:58 -05:00
doc Reimplementation logic for trap generation 2020-12-08 18:37:50 -03:00
fm-api Add debian package infra for fm-api 2021-09-27 12:53:01 -04:00
fm-common Fixing logging for python scripts - FM 2021-12-23 14:49:21 -03:00
fm-doc Add new alarm for FD limit reached 2021-11-24 10:43:53 -05:00
fm-mgr Add Debian packaging for fm-mgr and fm-rest-api 2021-10-20 06:22:36 -05:00
fm-rest-api Merge "Re-enable important py3k checks for fault" 2021-11-09 21:14:52 +00:00
python-fmclient Merge "Re-enable important py3k checks for fault" 2021-11-09 21:14:52 +00:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:20:25 +02:00
.gitignore Create test framework for python with stestr. 2020-01-16 16:45:45 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:34 +00:00
.zuul.yaml Removing py36 gates from zuul for fault 2021-09-30 10:14:06 -03: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 Followup opendev cleanup and test jobs 2019-04-20 20:26:25 -05:00
bindep.txt py3: Add support for python 3.9 2021-09-01 08:58:34 -04:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 19:41:08 +08:00
centos_iso_image.inc Remove snmp-ext and snmp-audittrail from FM 2021-01-04 14:57:33 -03:00
centos_pkg_dirs Remove snmp-ext and snmp-audittrail from FM 2021-01-04 14:57:33 -03: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
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-28 15:26:08 -04:00
debian_iso_image.inc Add debian_iso_image.inc file 2021-10-27 02:24:07 -04:00
debian_pkg_dirs Remove duplicates from debian_pkg_dirs file 2021-11-05 08:24:00 -07:00
pylint.rc Re-enable important py3k checks for fault 2021-11-09 14:09:17 -03:00
requirements.txt Adding pylint zuul and tox target 2020-03-11 09:05:18 -05:00
test-requirements.txt Attempt to fix zuul jobs from timing out 2021-08-10 07:32:57 -05:00
tox.ini Add debian package infra for fm-api 2021-09-27 12:53:01 -04:00

README.rst

fault

StarlingX Fault Management