ironic-inspector/ironic_inspector
Dmitry Tantsur a8d621f20a Retry port lists on failure in PXE filter periodic sync
These calls are subject to transient network problems, we should
not abort ironic-inspector process in this case. Also due to
bug 1748893 the port listing API can sometimes return HTTP 400.

This change retries port listing 5 times with 1 second break
before aborting the periodic task and thus the process.

This change introduces a dependency on the retrying library,
which is already widely used in OpenStack (including ironic).

Change-Id: I92fd70ca5692ce9f6798eedf9e540d5aa7c6f1af
Closes-Bug: #1748893
(cherry picked from commit 3237511cc6)
2018-02-14 14:44:43 -08:00
..
cmd Preparing for service splitting 2017-05-26 11:59:35 +03:00
common Retry port lists on failure in PXE filter periodic sync 2018-02-14 14:44:43 -08:00
conf Add keystoneauth adapters 2018-01-16 18:06:10 +00:00
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-02-05 06:23:20 +00:00
migrations Merge "Update version of flake8-import-order package" 2018-01-05 17:30:12 +00:00
plugins Only set switch_id in local_link_connection if it is a mac address 2018-02-13 06:52:24 -08:00
pxe_filter Retry port lists on failure in PXE filter periodic sync 2018-02-14 14:44:43 -08:00
test Retry port lists on failure in PXE filter periodic sync 2018-02-14 14:44:43 -08:00
__init__.py Switch to pbr 2015-06-18 16:09:07 +02:00
alembic.ini Add alembic migrations for the inspector database 2015-09-23 14:44:46 +01:00
api_tools.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
db.py Use new oslo db EngineFacade 2017-06-15 14:25:55 +03:00
dbsync.py Update version of flake8-import-order package 2017-12-14 11:38:27 -08:00
introspect.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
introspection_state.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
main.py Replace use of functools.wraps() with six.wraps() 2018-02-01 16:32:48 -08:00
node_cache.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
policy.py Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
process.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
rules.py Remove rollback support from introspection rules 2017-05-17 18:33:34 +02:00
utils.py Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
version.py Use Reno for release notes management 2015-11-26 10:12:14 +01:00
wsgi_service.py Refactoring the firewall 2017-10-19 16:38:15 +02:00