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
Change-Id: Ic5082b74a362ded8b35cbc75cf178fe6e0db62d0
(cherry picked from commit 234f64d608266f43d8856ff98c89ceba6699d752)
Reviewed: https:/ /review. openstack. org/86370 /git.openstack. org/cgit/ openstack/ oslo-incubator/ commit/ ?id=4c738572b27 73a822639de9a75 7e982204360774
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 4c738572b2773a8 22639de9a757e98 2204360774
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 3d8856ff98c89ce ba6699d752)
Change-Id: Ic5082b74a362de
(cherry picked from commit 234f64d608266f4