impl_rabbit can not recover from the "NoneType" error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When the master-slave switching of AMQP servers occurs, the service log(octavia) is increasing crazy. The log is such as " Failed to consume message from queue: 'NoneType' object has no attribute 'itervalues'".
It seems that the channels is setted to None.
2017-04-20 15:53:23.701 57808 ERROR root return infunc(*args, **kwargs)
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root batch_size=
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root msg = func(in_self, timeout=
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root self.conn.
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root error_callback=
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root ret, channel = autoretry_method()
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root self.collect()
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root gc_transport(
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root connection.
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root temp_list = [x for x in values(
2017-04-20 15:53:23.701 57808 ERROR root File "/opt/openstack
2017-04-20 15:53:23.701 57808 ERROR root return d.itervalues()
2017-04-20 15:53:23.701 57808 ERROR root AttributeError: 'NoneType' object has no attribute 'itervalues'
2017-04-20 15:53:23.701 57808 ERROR root
2017-04-20 15:53:24.709 57808 ERROR oslo.messaging.
2017-04-20 15:53:25.712 57808 ERROR oslo.messaging.
2017-04-20 15:53:26.714 57808 ERROR oslo.messaging.
2017-04-20 15:53:27.716 57808 ERROR oslo.messaging.
2017-04-20 15:53:28.718 57808 ERROR oslo.messaging.
2017-04-20 15:53:29.721 57808 ERROR oslo.messaging.
2017-04-20 15:53:30.723 57808 ERROR oslo.messaging.
2017-04-20 15:53:31.726 57808 ERROR oslo.messaging.
2017-04-20 15:53:32.729 57808 ERROR oslo.messaging.
2017-04-20 15:53:33.730 57808 ERROR oslo.messaging.
2017-04-20 15:53:34.732 57808 ERROR oslo.messaging.
2017-04-20 15:53:35.733 57808 ERROR oslo.messaging.
2017-04-20 15:53:36.735 57808 ERROR oslo.messaging.
2017-04-20 15:53:37.736 57808 ERROR oslo.messaging.
Add "self._
[1]https:/
[2]https:/
Changed in oslo.messaging: | |
status: | New → Invalid |
Why was this set as invalid? Could you please clarify? I'm seeing the same messages in one setup.