<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Thanks Josh,
<div><br /></div>
<div>I’m not sure I fully understand your point though. You mean it’s a legacy (deprecated?) code that we should never use in our code? Should it be considered a private class of oslo_service?</div>
<div><br /></div>
<div>In our global requirements tenacity is configured as "<span style="background-color: rgb(255, 255, 255);"><font color="#24292E" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" size="2"><span style="white-space: pre;">tenacity>=3.2.1”,</span></font></span> should we bump it to 4.4.0?</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">Renat Akhmerov<br style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" />
@Nokia</div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On 21 Sep 2017, 22:42 +0700, Joshua Harlow <harlowja@fastmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">It does look like is sort of a bug,<br />
<br />
Though in all honesty I wouldn't be using oslo.service or that looping<br />
code in the future for doing retrying...<br />
<br />
https://pypi.python.org/pypi/tenacity is a much better library with more<br />
`natural` syntax and works more as one would expect (even under threaded<br />
situations).<br />
<br />
If I could of I would of never let 'loopingcall.py' become a file that<br />
exists, but the past is the past, ha.<br />
<br />
Renat Akhmerov wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">Hi Oslo team,<br />
<br />
Can you please check the bug [1]?<br />
<br />
There may be a problem with how looping.RetryDecorator works. Just<br />
stumbled on it in Mistral. Not sure if it’s really a bug or made by<br />
design. If it’s by design then maybe we need to have more accurate<br />
documentation for it.<br />
<br />
FYI: We use this decorator in Mistral and it’s also used in Nova, [2].<br />
<br />
[1] https://bugs.launchpad.net/oslo.service/+bug/1718635<br />
[2]<br />
http://git.openstack.org/cgit/openstack/nova/tree/nova/virt/disk/mount/api.py<br />
<br />
Thanks<br />
<br />
Renat Akhmerov<br />
@Nokia<br />
<br />
__________________________________________________________________________<br />
OpenStack Development Mailing List (not for usage questions)<br />
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br />
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br /></blockquote>
<br />
__________________________________________________________________________<br />
OpenStack Development Mailing List (not for usage questions)<br />
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br />
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br /></blockquote>
</div>
</body>
</html>