Change default num_retries for glance to 3
Bug #1888168 reported by
Keigo Noha
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Keigo Noha | ||
Queens |
New
|
Low
|
Unassigned | ||
Rocky |
Fix Released
|
Low
|
Unassigned | ||
Stein |
Fix Released
|
Low
|
Unassigned | ||
Train |
Fix Released
|
Low
|
Keigo Noha | ||
Ussuri |
Fix Released
|
Low
|
Keigo Noha |
Bug Description
Currently, nova has a parameter to set the retry count for glance, num_retries.
The default value of the option is 0. It means that the request is sent only once.
On the other hand, other component's clients, cinder, neutron change its default value to 3.
https:/
https:/
For glance, we should align the default value to 3.
Changed in nova: | |
assignee: | nobody → Keigo Noha (knoha) |
status: | New → In Progress |
Changed in nova: | |
assignee: | Keigo Noha (knoha) → melanie witt (melwitt) |
Changed in nova: | |
assignee: | melanie witt (melwitt) → Keigo Noha (knoha) |
importance: | Undecided → Low |
tags: | added: glance |
Changed in nova: | |
assignee: | Keigo Noha (knoha) → Stephen Finucane (stephenfinucane) |
Changed in nova: | |
assignee: | Stephen Finucane (stephenfinucane) → melanie witt (melwitt) |
Changed in nova: | |
assignee: | melanie witt (melwitt) → Keigo Noha (knoha) |
To post a comment you must log in.
Here's where we default the cinder retries to 3:
https:/ /github. com/openstack/ nova/blob/ b7161fe9b92f004 5e97c300a80e58d 32b6f49be1/ nova/conf/ cinder. py#L72- L73
and neutron retries are also defaulted to 3:
https:/ /github. com/openstack/ nova/blob/ b7161fe9b92f004 5e97c300a80e58d 32b6f49be1/ nova/conf/ neutron. py#L97- L98