[openstack-dev] [qa][python-bindings] Reries on HTTP error in python bindings

Frittoli, Andrea (Cloud Services) frittoli at hp.com
Wed Jan 15 13:28:44 UTC 2014


Hi all,

 

I've been working on a patch to ensure that all tempest tests are able to
handle rate limiting errors with automatic retries [0].

API tests already implement retries, however scenario tests don't, the main
reason being that scenario tests rely on the official python bindings, most
of which do not handle retries (with the exception of the swift client).

 

My approach so far has been to monkey-patch python-bindings in tempest to
add the retry logic, however a few pointed out that the right place to
implement the retries would be in the python bindings directly.

I filed a bug [1] about implementing retries in the various python bindings,
and I'd like to get some feedback from the community.

 

Even if  we have enough consensus about [1], I expect it might be a while
until all python bindings are updated. 

In the meanwhile I think we could go ahead with [0], and then start removing
the monkey-patch as soon as retries are implemented on the client side.

 

andrea

 

[0] https://review.openstack.org/#/c/61978/

[1] https://bugs.launchpad.net/python-novaclient/+bug/1263069 

 

 

-- 

Andrea Frittoli

IaaS Systems Engineering Team

HP Cloud Services

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140115/5aeea401/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6199 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140115/5aeea401/attachment.bin>


More information about the OpenStack-dev mailing list