StarlingX Fault Management
Go to file
yhu6 f9ae82009b [fm-doc] bug-fix: change a "dictionary" while iterating it
issue: in ~/fm-doc/fm_doc/check_missing_alarms.py, there is
a for-loop iterating the dict "events", however inside this
loop, some elements are being popped out, and elements with
new keys are being added dynamically. This is not safe and
would bring unpredictable behavior with different versions
of Python and "Collections".

check_missing_alarms.py is triggered to run at Build stage
(defined in fm-doc.spec) when generating "fm-doc.*.tis.rpm".

Test for fix:
1. rebuild on "fm-doc.*.tis.rpm" by "# build-pkgs fm-doc"
2. check the rpm build log and assure the code be executed
correctly with expected check results.
3. run this script with different Python versions on other
Linux hosts and assure it works well.

Closes-Bug: 1809064

Change-Id: Ieb07ae944037c2eb33dda414e870702a9d248d83
Signed-off-by: yhu6 <yong.hu@intel.com>
2018-12-20 00:49:21 +00:00
api-ref/source [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:35:29 +00:00
devstack fix typo issue 2018-11-22 21:09:27 +08:00
doc [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:35:29 +00:00
fm-api Add hooks for python wheel generation 2018-10-24 17:12:50 +00:00
fm-common Standardize install target for fm-common. 2018-12-05 15:06:56 -06:00
fm-doc [fm-doc] bug-fix: change a "dictionary" while iterating it 2018-12-20 00:49:21 +00:00
fm-mgr Stardardize makefile for fm-mgr 2018-12-05 15:24:28 -06:00
fm-rest-api Fix a spelling mistake 2018-12-14 18:13:50 +00:00
python-fmclient Change openstack-dev to openstack-discuss 2018-12-07 02:10:10 +00:00
releasenotes Merge "Grammar edit on the release notes." 2018-10-30 17:27:13 +00:00
snmp-audittrail Standardize makefile in snmp-audittrail. 2018-10-31 08:07:22 -06:00
snmp-ext StarlingX open source release updates 2018-05-31 07:36:00 -07: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 Add a basic devstack job 2018-11-01 23:38:13 -05:00
centos_iso_image.inc Decouple Fault Management from stx-config 2018-08-17 15:25:35 -04: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
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
test-requirements.txt Lock down flake8 version 2018-10-24 10:06:43 -05:00
tox.ini Add fm-rest-api and fm-client to DevStack 2018-10-29 10:54:49 -05:00

stx-fault

StarlingX Fault Management