StarlingX Fault Management
Go to file
Charles Short c9857c8cf4 python3: Fix python3 compatibility issues
- Replace 'range' with six.moves.range.
- Replace 'zip' with six.moves.zip.
- Replace 'map' with six.moves.map.
- Replace dict.keys() with list(dict.keys()) to get a list on Python
  3. On Python 3, dict.keys() now returns a view.
- Fix 'TypeError: unorderable types: NoneType() < int()' for python3
- Python 3 changed the iso8601 module iso8601.iso8601.Utc()
  function to iso8601.UTC.  This is compatible with Python2.7.

Testing:

1. Built new fm-rest-api rpm package.
2. Built new ISO with newer fm-rest-api and installed fine.
3. Checked for an exception in the logs while running "fm event-list".
4. Ran "fm alarm-list" without a problem.

Story: 2006729
Task: 42256

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I2d0f4c2c85ea8057258d56632a102b2eac7db388
(cherry picked from commit b91aaaab90)
2021-08-16 13:10:27 +00: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 Kubernetes RootCA Update orch alarms and events 2021-06-25 16:42:32 -05:00
fm-common Fix compilation on python2 2021-08-04 11:23:18 -04:00
fm-doc Merge "Add Kubernetes RootCA Update orch alarms and events" 2021-08-11 13:49:13 +00:00
fm-mgr Make small modification to fm's logrotation configuration file 2021-04-09 09:15:40 -04:00
fm-rest-api python3: Fix python3 compatibility issues 2021-08-16 13:10:27 +00:00
python-fmclient Merge "python3: Fix compatibility issues" 2021-08-16 12:47:50 +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 Fix zuul pylint failure on review 2021-06-09 08:48:11 -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
bindep.txt Tox: add tox job and requirements to improve specfiles 2019-07-16 13:15:24 -07: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
pylint.rc Attempt to fix zuul jobs from timing out 2021-08-10 07:32:57 -05: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 Attempt to fix zuul jobs from timing out 2021-08-10 07:32:57 -05:00

README.rst

fault

StarlingX Fault Management