fault/fm-common/sources
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
..
LICENSE StarlingX open source release updates 2018-05-31 07:36:00 -07:00
Makefile Improve security by avoiding buffer overflows 2019-01-08 09:55:07 -06:00
fmAPI.cpp StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmAPI.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmAlarm.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmAlarmUtils.cpp fix issue: fmClient segfaults on short string parameter 2019-01-29 02:25:12 +08:00
fmAlarmUtils.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmConfig.cpp Add strip config parameter in FM config parser 2019-03-27 21:19:29 +08:00
fmConfig.h Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fmConstants.h Standardize install target for fm-common. 2018-12-05 15:06:56 -06:00
fmDb.cpp Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
fmDb.h Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
fmDbAPI.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmDbAlarm.cpp Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
fmDbAlarm.h Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
fmDbEventLog.cpp replace strncpy by snprintf 2018-11-03 00:56:57 +08:00
fmDbEventLog.h Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fmDbUtils.cpp Fix alarms issues on non-UTC systems 2019-05-31 10:14:32 -04:00
fmDbUtils.h Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fmEventSuppression.cpp Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
fmEventSuppression.h Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fmFile.cpp StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmFile.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmLog.cpp Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fmLog.h Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fmMsg.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmMsgServer.cpp Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
fmMsgServer.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmMutex.cpp StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmMutex.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmSnmpConstants.h Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fmSnmpUtils.cpp Avoid null check for reference in fm_snmp_util_gen_trap 2018-08-22 23:35:29 -05:00
fmSnmpUtils.h Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fmSocket.cpp StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmSocket.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmThread.cpp StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmThread.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmTime.cpp StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fmTime.h StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fm_cli.cpp StarlingX open source release updates 2018-05-31 07:36:00 -07:00
fm_db_sync_event_suppression.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
fm_python_mod_main.cpp Fix clear_fault/clear_all in FaultAPIsV2 raise exception when alarm is 2019-04-01 01:31:49 +08:00
requirements.txt Use DevStack's setup_*() functions for Python packages 2019-05-17 13:11:58 -05:00
setup.cfg Use DevStack's setup_*() functions for Python packages 2019-05-17 13:11:58 -05:00
setup.py Add hooks for python wheel generation 2018-10-24 17:12:50 +00:00