]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
cloud: Retry failed requests in libcloud
authorZack Cerza <zack@redhat.com>
Mon, 6 Feb 2017 21:16:13 +0000 (14:16 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 24 Feb 2017 16:03:33 +0000 (09:03 -0700)
commitb0956d71de5c309023b186631214231e6a09e356
treedc03c6af8fcd49e488584ac4cb301f890f2977fc
parent9777e1f6935661fc9748d12f105c3b0ebf0cc81d
cloud: Retry failed requests in libcloud

It's common to see "429 Rate limit exceeded", at least with OVH. When we
encounter the exception associated with that exception, backoff and
retry for an interval before eventually giving up.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/provision/cloud/openstack.py
teuthology/provision/cloud/test/test_openstack.py