StarlingX Fault Management
Go to file
Heitor Matsui f79b9a9748 Use alternate log handler if running in container
Currently the log is written to syslog, which in turn uses a
socket /dev/log from the platform, but when running in a container
such as in the stx-openstack application this log handler is not
available.

This commit uses an environment variable to be set on the
fm-rest-api deployment definition to determine if it must the syslog
handler, which is the case when running on the platform, or write the
log to standard output, which is the case when running inside a
container.

Closes-Bug: 1951579
Signed-off-by: Heitor Matsui <HeitorVieira.Matsui@windriver.com>
Change-Id: I3f2fe2953fb26ad1759f3bc10a358cb9d093192f
2021-11-19 10:07:36 -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 Use alternate log handler if running in container 2021-11-19 10:07:36 -03:00
fm-doc Fix quotes in new alarm doc 2021-08-31 14:12:00 -04: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 Add debian_build_layer.cfg file 2021-10-28 15:26:08 -04: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