Merge "Change default glance_num_retries to 3" into stable/ussuri

This commit is contained in:
Zuul 2020-11-14 19:58:28 +00:00 committed by Gerrit Code Review
commit 41ecf6063a
2 changed files with 10 additions and 1 deletions

View File

@ -174,7 +174,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,

View File

@ -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.