Add call_retry for ModelBuilder for error recovery
Add call_retry method for ModelBuilder classes along with configuration options. This allows ModelBuilder classes to reattempt any failed calls to external services such as Nova or Ironic. Change-Id: Ided697adebed957e5ff13b4c6b5b06c816f81c4a
This commit is contained in:
9
releasenotes/notes/api-call-retry-fef741ac684c58dd.yaml
Normal file
9
releasenotes/notes/api-call-retry-fef741ac684c58dd.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
API calls while building the Compute data model will be retried upon
|
||||
failure. The amount of failures allowed before giving up and the time before
|
||||
reattempting are configurable. The `api_call_retries` and
|
||||
`api_query_timeout` parameters in the `[collector]` group can be used to
|
||||
adjust these paremeters. 10 retries with a 1 second time in between
|
||||
reattempts is the default.
|
||||
Reference in New Issue
Block a user