manila/releasenotes/notes/netapp-retry-requests-0a77a31f5222d4b2.yaml
Maurice Escher d3310b0b38 [NetApp] Fix lack of retry HTTP requests
The driver HTTP requester is not handling connection error with some
retries for avoiding temporary network failure in name resolution.
This patch adds a custom `HTTPAdapter` with 5 retries, according to
urrlib3 documentation [1]. Also, the connection retry will be visible
in the log [2].

[1] https://urllib3.readthedocs.io/en/latest/reference/urllib3.util.html#module-urllib3.util.retry
[2] https://paste.opendev.org/show/bIcwjk91d4vy5Hnxxs4Z/

Closes-Bug: #1971542
Change-Id: Ic9ff8208f10df9dbed09717d6b218f6293d2338a
2022-08-23 09:25:49 +00:00

9 lines
347 B
YAML

---
fixes:
- |
Sometimes NetApp API call fails due to name resolution(DNS) issue. In
such case, a client will now make 5 retries on connect and 2 on read
calls. Also, the connection retry will be visible in the log. For more
details, please refer to
`launchpad bug #1971542 <https://bugs.launchpad.net/manila/+bug/1971542>`_