
Some actions can fail due to the node being locked as part of normal operations. This was previously handled silently by python-ironicclient, but when inspector was changed to use openstacksdk, this was no longer handled. Adds the retry wrapper around critical path methods involving power/reboot ops and node updates which require locks. Change-Id: I3d26cf46da02b3e8f3f773c0aeaed6843e0f26e5 Story: 2009107 Task: 42966
12 lines
509 B
YAML
12 lines
509 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes issues in Inspector where various tasks would not have retry logic
|
|
applied to them and may sporadically fail. This is because the OpenStack
|
|
SDK does not comprehend the NodeLocked error, which previously
|
|
python-ironicclient silently handled. Basic operations such as
|
|
"power reboot" and "set boot device" will now be retried automatically if
|
|
they fail.
|
|
For more information, please see
|
|
`story 2009107 <https://storyboard.openstack.org/#!/story/2009107>`_.
|