Change default glance_num_retries to 3
Previously, the default value of glance_num_retries is 0. It means that the request to glance is issued only one time. However, other components' client retries the request when it fails. To reduce an unnecessary exception and failure, we should increase the default value to 3. Change-Id: Iff8162c732fb9dc0080e8810b4a5bcaa3ff7e6ca
This commit is contained in:
parent
f8e70fd31d
commit
da5a27f7b3
@ -172,7 +172,7 @@ image_opts = [
|
||||
'is not specified it defaults to http.'),
|
||||
cfg.IntOpt('glance_num_retries',
|
||||
min=0,
|
||||
default=0,
|
||||
default=3,
|
||||
help='Number retries when downloading an image from glance'),
|
||||
cfg.BoolOpt('glance_api_insecure',
|
||||
default=False,
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The default value of the configuration option, ``glance_num_retries``,
|
||||
has been changed to 3 in this release. Its former value was 0.
|
||||
The option controls how many times to retry a Glance API call
|
||||
in response to a HTTP connection failure, timeout or ServiceUnavailable status.
|
||||
By this change, Cinder can be more resilient to temporary failure and continue
|
||||
the request if a retry succeeds.
|
Loading…
Reference in New Issue
Block a user