nova/releasenotes/notes/increase_glance_num_retries-ddfcd7053631882b.yaml
Keigo Noha 662af9fab6 Change default num_retries for glance to 3
Previously, the default value of num_retries for glance is 0.
It means that the request to glance is sent only one time.
On the other hand, neutron and cinder clients set the default
value to 3.
To align the default value for retry to other components, we
should change the default value to 3.

Closes-Bug: #1888168
Change-Id: Ibbd4bd26408328b9e1a1128b3794721405631193
2020-08-27 20:16:53 +00:00

12 lines
574 B
YAML

---
upgrade:
- |
The default for ``[glance] num_retries`` has changed from ``0`` to ``3``.
The option controls how many times to retry a Glance API call in response
to a HTTP connection failure. When deploying Glance behind HAproxy it is
possible for a response to arrive just after the HAproxy idle time. As a
result, an exception will be raised when the connection is closed resulting
in a failed request. By increasing the default value, Nova can be more
resilient to this scenario were HAproxy is misconfigured by retrying the
request.