Retry of all OpenStack client calls

Registered by Andrey Pavlov

Sahara uses a bunch of OpenStack clients to communicate with other OpenStack
services. Sometimes during this clients calls can be occurred unexpected
errors that lead to Sahara errors as well. If you make a lot of calls, it may
not be surprising if one of them doesn't respond as it should - especially for
a service under heavy load.

You make a valid call and it returns a 4xx or 5xx error. You make the same
call again a moment later, and it succeeds. To prevent such kind of troubles,
all clients calls should be retried. But retries should be done only for
certain error codes, because not all of the errors can be avoided this way.

Blueprint information

Status:
Complete
Approver:
Sergey Lukjanov
Priority:
Undefined
Drafter:
Andrey Pavlov
Direction:
Needs approval
Assignee:
Andrey Pavlov
Definition:
New
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
None
Started by
Vitalii Gridnev
Completed by
Vitalii Gridnev

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/clients-calls-retry,n,z

Addressed by: https://review.openstack.org/174829
    Spec for OpenStack clients calls retry

Addressed by: https://review.openstack.org/174840
    Enabling Swift client retries

Addressed by: https://review.openstack.org/175401
    Adding ability to retry clients calls

Addressed by: https://review.openstack.org/176708
    Adding retry ability to novaclient calls

Addressed by: https://review.openstack.org/177142
    Adding retry ability to cinderclient calls

Addressed by: https://review.openstack.org/177158
    Adding retry ability to heatclient calls

Addressed by: https://review.openstack.org/177170
    Adding retry ability to neutronclient calls

Addressed by: https://review.openstack.org/177194
    Adding retry ability to keystoneclient calls

Addressed by: https://review.openstack.org/177708
    Enabling Swift client retries

Addressed by: https://review.openstack.org/185578
    Added missing retries of clients calls

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.