Update ensure()/reconnect() to catch MessagingError
The error handling code that gets connections reset if necessary
caught ConnectionError. It really needs to catch MessagingError,
which ConnectionError inherits from. There are other types of
MessagingErrors that may occur, such as InternalError, and they need
to cause the connection to reset, as well.
This fix has already been merged into oslo.messaging.
Reviewed: https:/ /review. openstack. org/86368 /git.openstack. org/cgit/ openstack/ oslo-incubator/ commit/ ?id=234f64d6082 66f43d8856ff98c 89ceba6699d752
Committed: https:/
Submitter: Jenkins
Branch: master
commit 234f64d608266f4 3d8856ff98c89ce ba6699d752
Author: Russell Bryant <email address hidden>
Date: Wed Apr 9 11:32:44 2014 -0400
Update ensure( )/reconnect( ) to catch MessagingError
The error handling code that gets connections reset if necessary
caught ConnectionError. It really needs to catch MessagingError,
which ConnectionError inherits from. There are other types of
MessagingErrors that may occur, such as InternalError, and they need
to cause the connection to reset, as well.
This fix has already been merged into oslo.messaging.
Closes-bug: #1303890 d8b35cbc75cf178 fe6e0db62d0
Change-Id: Ic5082b74a362de