StarlingX Fault Management
Go to file
Kristine Bujold e5803f2a5d Fix alarms issues on non-UTC systems
This fixes two issues
-Alarm clear time incorrectly reported on non-UTC systems.
-Paused instances do not display the correct alarm timestamp in
non-UTC systems.

The mktime call that's made in fm_db_util_get_timestamp uses the local
tz in it's calculation. It assumes the incoming time is also in the
local time. When mktime is provided with a value in UTC we see the error
presented in this bug.

Change-Id: Iaf8d097e2dfdfae585b6976e02a85b9e2f1b19f9
Closes-Bug: 1828448
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-05-31 10:14:32 -04:00
api-ref/source [Doc] API Content Gaps 2019-01-28 09:12:32 -06:00
devstack Use DevStack's setup_*() functions for Python packages 2019-05-17 13:11:58 -05:00
doc Clean up and standardize landing pages 2018-12-27 16:59:48 -08:00
fm-api Use DevStack's setup_*() functions for Python packages 2019-05-17 13:11:58 -05:00
fm-common Fix alarms issues on non-UTC systems 2019-05-31 10:14:32 -04:00
fm-doc Remove references to infra in FM doc 2019-04-18 09:31:46 -04:00
fm-mgr Add Required-Start and Required-Stop to fminit header 2019-05-16 11:14:57 -05:00
fm-rest-api Merge "for module boolean item, change fields to bool_to_none" 2019-05-22 18:21:52 +00:00
python-fmclient Use DevStack's setup_*() functions for Python packages 2019-05-17 13:11:58 -05: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 OpenDev Migration Patch 2019-04-19 19:52:34 +00:00
.zuul.yaml Followup opendev cleanup and test jobs 2019-04-20 20:26:25 -05: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
centos_iso_image.inc Decouple Fault Management from stx-config 2018-08-17 15:25:35 -04: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

fault

StarlingX Fault Management