openstacksdk/releasenotes/notes/baremetal-retries-804f553b4e22b3bf.yaml
Dmitry Tantsur 3b022e8d70 Return retries on HTTP CONFLICT to baremetal.attach_vif_to_node
Unfortunately, it is very easy to hit the "node locked" error when retries
are disabled, so add retries to this call as well.

Change-Id: I076cf2537a20687932aca9fd85358bf02882b736
2019-01-18 18:15:19 +01:00

9 lines
388 B
YAML

---
fixes:
- |
Changes the ``baremetal.attach_vif_to_node`` call to retry HTTP CONFLICT
by default. While it's a valid error code when a VIF is already attached
to a node, the same code is also used when the target node is locked.
The latter happens more often, so the retries are now on by default and
can be disabled by setting ``retry_on_conflict`` to ``False``.