ironic-inspector/releasenotes/notes/port-list-retry-745d1cf41780e961.yaml
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

12 lines
394 B
YAML

---
fixes:
- |
The periodic PXE filter update task now retries fetching port list from
the Bare Metal service 5 times (with 1 second delay) before giving up.
This ensures that a temporary networking glitch will not result in
the ironic-inspector service stopping.
upgrade:
- |
Adds dependency on the `retrying <https://github.com/rholder/retrying>`_
python library.