During the reconnect to RabbitMQ if something bad happens I get this traceback.
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging Traceback (most recent call last):
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/notify/_impl_messaging.py", line 47, in notify
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging version=self.version)
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/transport.py", line 93, in _send_notification
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging self._driver.send_notification(target, ctxt, message, version)
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py", line 393, in send_notification
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging return self._send(target, ctxt, message, envelope=(version == 2.0))
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py", line 371, in _send
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging with self._get_connection() as conn:
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py", line 322, in _get_connection
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging server_params=server_params)
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqp.py", line 117, in __init__
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging self.connection = connection_pool.get()
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/pool.py", line 71, in get
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging return self.create()
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqp.py", line 71, in create
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging return self.connection_cls(self.conf)
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/impl_rabbit.py", line 460, in __init__
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging self.reconnect()
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging File "/opt/stack/oslo.messaging/oslo/messaging/_drivers/impl_rabbit.py", line 548, in reconnect
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging log_info['err_str'] = str(e)
2014-01-24 11:07:36.300 20196 TRACE oslo.messaging.notify._impl_messaging UnboundLocalError: local variable 'e' referenced before assignment
Fix proposed to branch: master /review. openstack. org/68888
Review: https:/