ironic-inspector/ironic_inspector/pxe_filter
Dmitry Tantsur 3237511cc6 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
2018-02-14 15:10:39 +01:00
..
__init__.py PXE boot filtering drivers 2017-06-28 12:25:37 +02:00
base.py Replace use of functools.wraps() with six.wraps() 2018-02-01 16:32:48 -08:00
dnsmasq.py Retry port lists on failure in PXE filter periodic sync 2018-02-14 15:10:39 +01:00
interface.py PXE boot filtering drivers 2017-06-28 12:25:37 +02:00
iptables.py Retry port lists on failure in PXE filter periodic sync 2018-02-14 15:10:39 +01:00