<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve been working on a patch to ensure that all tempest tests are able to handle rate limiting errors with automatic retries [0].<o:p></o:p></p><p class=MsoNormal>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).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal>I filed a bug [1] about implementing retries in the various python bindings, and I’d like to get some feedback from the community.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Even if  we have enough consensus about [1], I expect it might be a while until all python bindings are updated. <o:p></o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>andrea<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[0] <a href="https://review.openstack.org/#/c/61978/">https://review.openstack.org/#/c/61978/</a><o:p></o:p></p><p class=MsoNormal>[1] <a href="https://bugs.launchpad.net/python-novaclient/+bug/1263069">https://bugs.launchpad.net/python-novaclient/+bug/1263069</a> <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>-- <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Andrea Frittoli<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-GB'>IaaS Systems Engineering Team<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>HP Cloud Services<o:p></o:p></span></p></div></body></html>