<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 9, 2020 at 2:27 PM Ben Nemec <<a href="mailto:openstack@nemebean.com">openstack@nemebean.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 1/9/20 5:57 AM, Amjad Kotobi wrote:<br>
> Hi Ben,<br>
> <br>
>> On 7. Jan 2020, at 22:59, Ben Nemec <<a href="mailto:openstack@nemebean.com" target="_blank">openstack@nemebean.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>> On 1/7/20 9:14 AM, Amjad Kotobi wrote:<br>
>>> Hi,<br>
>>> Today we are facing losing connection of neutron especially during instance creation or so as “systemctl status neutron-server” shows below message<br>
>>> be deprecated in amqp 2.2.0.<br>
>>> Since amqp 2.0 you have to explicitly call Connection.connect()<br>
>>> before using the connection.<br>
>>> W_FORCE_CONNECT.format(attr=attr)))<br>
>>> /usr/lib/python2.7/site-packages/amqp/connection.py:304: AMQPDeprecationWarning: The .transport attribute on the connection was accessed before<br>
>>> the connection was established.  This is supported for now, but will<br>
>>> be deprecated in amqp 2.2.0.<br>
>>> Since amqp 2.0 you have to explicitly call Connection.connect()<br>
>>> before using the connection.<br>
>>> W_FORCE_CONNECT.format(attr=attr)))<br>
>><br>
>> It looks like this is a red herring, but it should be fixed in the current oslo.messaging pike release. See [0] and the related bug.<br>
>><br>
>> 0: <a href="https://review.opendev.org/#/c/605324/" rel="noreferrer" target="_blank">https://review.opendev.org/#/c/605324/</a><br>
>><br>
>>> OpenStack release which we are running is “Pike”.<br>
>>> Is there any way to remedy this?<br>
>><br>
>> I don't think this should be a fatal problem in and of itself so I suspect it's masking something else. However, I would recommend updating to the latest pike release of oslo.messaging where the deprecated feature is not used. If that doesn't fix the problem, please send us whatever errors remain after this one is eliminated.<br>
> <br>
> I checked it out, we are having the latest pike Oslo.messaging and it still showing the same upper messages. Any ideas?<br>
<br>
Hmm, not sure then. Are there any other log messages around that one <br>
which might provide more context on where this is happening?<br>
<br>
I've also copied a couple of our messaging folks in case they have a <br>
better idea what might be going on.<br>
<br></blockquote><div><br></div><div>This deprecation warning should not result in a connection failure.  After the amqp connection code issues that warning it immediately calls connect() for you, which establishes the connection.<br></div><div><br></div><div>What concerns me is that you're hitting that warning in latest Pike.  That version of oslo.messaging should no longer trigger that warning.  If at all possible can you get a traceback when the warning is issued?<br></div><div><br></div><div>When did these failures start to occur?  Did something change - upgrade/downgrade, etc?</div><div><br></div><div>Otherwise if you can reproduce the problem can you get a debug-level log trace?<br></div><div><br></div><div>thanks,<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
>><br>
>>> Thanks<br>
>>> Amjad<br>
> <br>
> <br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Ken Giusti  (<a href="mailto:kgiusti@gmail.com" target="_blank">kgiusti@gmail.com</a>)</div></div>