ironic/releasenotes/notes/port-list-bad-request-078512862c22118e.yaml
Dmitry Tantsur 52dcc642d3 Fix rare HTTP 400 from port list API
This may happen when a node is deleted in parallel with calling
the port list API. Ports are fetched, then we try do fetch their
nodes and port groups. If either of them are removed in the meantime,
the API fails with HTTP 400. This change works around it.

Change-Id: Ie2d4c46c031ee86976abb6107433cdde87a4345a
Closes-Bug: #1748893
2018-02-16 17:20:19 +01:00

7 lines
244 B
YAML

---
fixes:
- |
Fixes rare race condition which resulted in the port list API returning
HTTP 400 (bad request) if some nodes were being removed in parallel.
See `bug 1748893 <https://bugs.launchpad.net/bugs/1748893>`_ for details.