Retry failed API calls

Registered by Steve Baker on 2014-07-22

2 classes of transient error can be mitigated by retrying API operations:

* A resource which goes into an ERROR state could be corrected by deleting and recreating the resource until it creates correctly
* An idempotent API call which fails for any reason (network outage, some 500s) can be retried until it returns a real response

Blueprint information

Status:
Complete
Approver:
Angus Salkeld
Priority:
Medium
Drafter:
Steve Baker
Direction:
Approved
Assignee:
Steve Baker
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
None
Started by
Angus Salkeld on 2015-02-03
Completed by
Angus Salkeld on 2015-02-03

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/108477
    timeutils function retry_backoff_delay

Addressed by: https://review.openstack.org/102394
    Exceptions ResourceInError, ResourceUnknownStatus

Addressed by: https://review.openstack.org/102397
    Retry resource create until success

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.