3b022e8d70
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
9 lines
388 B
YAML
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``.
|