<div dir="ltr"><div><div>I am not familiar with impl_qpid,py, but am familiar with amqp.py and have had problems around rpc_amqp.cleanup() the Pool.empty() method it calls. It was a totally different problem, but I decided to take a look at your problem. I noticed that in impl_qpid.py the only other place a connection.close() is done is surrounded by this code:<br>
<br> # Close the session if necessary<br> if self.connection.opened():<br> try:<br> self.connection.close()<br> except qpid_exceptions.ConnectionError:<br>
pass<br><br></div>I suggest you wrap the close at line 386 of impl_qpid.py with the same code and your problem will be fixed. Here is the line identified from your call stack:<br><br> File "/usr/lib/python2.6/site-<div>
packages/cinder/openstack/common/rpc/impl_qpid.py", line 386, in close<br>
self.connection.close()<br><br></div><div>If that works, open a bug report.<br><br></div><div>Good catch<br></div><br></div>Ray<br></div>