<div dir="ltr"><div>To anyone who cares,</div><div><br></div>I made a try to use kombu 2.5 (specifically its reconnecting logic), with oslo.messaging (which uses kombu's reconnecting logic after kilo). No matter whether heartbeat is enabled or not, there are truly many problems.  NoneType Error [1], eg. <div>I have to manually backport several commits from upstream of kombu to bypass those NoneType errors.</div><div><br></div><div><br></div><div>[1] <a href="https://openstack.nimeyo.com/52206/openstack-nonetype-attribute-__getitem__-network-openvswitch">https://openstack.nimeyo.com/52206/openstack-nonetype-attribute-__getitem__-network-openvswitch</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 28, 2015 at 2:22 PM, Davanum Srinivas <span dir="ltr"><<a href="mailto:davanum@gmail.com" target="_blank">davanum@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">apporc,<div><br></div><div>I do a git blame on global-requirements.txt to figure that out. I'll let @sileht answer the other one :)</div><div><br></div><div>-- dims</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 28, 2015 at 3:15 PM, me,apporc <span dir="ltr"><<a href="mailto:appleorchard2000@gmail.com" target="_blank">appleorchard2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you for pointing this out, dims. I didn't notice this process of openstack. But i wonder how do you find the relationship between that bot's commit and the global requirements commit.<div><br></div><div>And sileht, from this commit <a href="https://github.com/openstack/requirements/commit/c7f69afd6af56e8f7956c6fa0bea8fd776151fe6" target="_blank">https://github.com/openstack/requirements/commit/c7f69afd6af56e8f7956c6fa0bea8fd776151fe6</a>, there seems not a robust reason to require kombu >= 3.0.7.</div><div>It's because ubuntu Trusty's default kombu version is 3.0.7, and it works with amqp 1.4.0, right?</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Oct 28, 2015 at 12:46 PM, Davanum Srinivas <span dir="ltr"><<a href="mailto:davanum@gmail.com" target="_blank">davanum@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">"Bot with No reason" <<< Not really accurate. The process in openstack is to update global requirements first and then bot proposes the update to different projects. So please look at<div><a href="https://github.com/openstack/requirements/commit/c7f69afd6af56e8f7956c6fa0bea8fd776151fe6" target="_blank">https://github.com/openstack/requirements/commit/c7f69afd6af56e8f7956c6fa0bea8fd776151fe6</a> for the commit which updated the global requirements </div><div><br></div><div>Thanks,</div><div>dims</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Oct 28, 2015 at 1:07 PM, me,apporc <span dir="ltr"><<a href="mailto:appleorchard2000@gmail.com" target="_blank">appleorchard2000@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Thanks again. <div><br><div>This kombu >=3.0.7 requirement is added in commit 5b9fb6980220dbfa18bac4c3231d57efb493ebf0, which is from a Bot with no reason.</div><div><br></div><div> As i see, we are directly requiring amqp >=1.4.0 in requirement.txt from commit 0c954cffa2f3710acafa79f01b958a8955823640 on.</div></div><div>So maybe there is no need to require kombu >= 3.0.7 ?</div><div><br></div><div>Another reason I am asking about this, in the latest centos 7 epel repo, the versions of these two packages are :</div><div>python-kombu : 2.5.16-1.el7</div><div>python-amqp : 1.4.5-1.el7</div><div><br></div><div>I have not test whether there are problems about heartbeat with this version pair though.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 27, 2015 at 11:02 PM, Mehdi Abaakouk <span dir="ltr"><<a href="mailto:sileht@sileht.net" target="_blank">sileht@sileht.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[1] seems just socket timeout issue, and admins can adjust those kernel<br>
params themselves.<br>
</blockquote>
<br></span>
Yes, but if you trick kernel settings, like putting very low tcp keepalive values, you don't need to have/enable heartbeat.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[2] and [3] truly a problem about the heartbeat implementation, but it says<br>
the fix is a part of py-amqp 1.4.0, and the dependency with kombu was not<br>
specified.<br>
[4] is a bug of kombu's autoretry method which is said to be fixed in kombu<br>
3.0.0, it is not directly related to heartbeat.<br>
</blockquote>
<br></span>
As far as I can remember, this is because oslo.messaging doesn't really require py-amqp but only kombu, so to ensure kombu depends of py-amqp 1.4.0 we have to depends on kombu 3.0.7 (that have amqp>=1.4.0 in its requirements I guess).<div><div><br>
<br>
---<br>
Mehdi Abaakouk<br>
mail: <a href="mailto:sileht@sileht.net" target="_blank">sileht@sileht.net</a><br>
irc: sileht<span><font color="#888888"><br>
</font></span></div></div></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Regards,<div>apporc</div></div></div>
</font></span></div>
<br></div></div>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Davanum Srinivas :: <a href="https://twitter.com/dims" target="_blank">https://twitter.com/dims</a></div>
</font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr">Regards,<div>apporc</div></div></div>
</div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Davanum Srinivas :: <a href="https://twitter.com/dims" target="_blank">https://twitter.com/dims</a></div>
</div>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Regards,<div>apporc</div></div></div>
</div>