[Openstack] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__' in network node's openvswitch-agent.log
walterxj
walterxj at gmail.com
Tue Jul 14 09:39:25 UTC 2015
Hi:All� � I noticed that there are many error logs in my�openvswitch-agent.log of network node.� �for example:=================================================================================================2015-07-14 03:28:45.256 5934 ERROR root [-] Unexpected exception occurred 61 time(s)... retrying.�2015-07-14 03:28:45.256 5934 TRACE root Traceback (most recent call last):
2015-07-14 03:28:45.256 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 95, in inner_func
2015-07-14 03:28:45.256 5934 TRACE root return infunc(*args, **kwargs)
2015-07-14 03:28:45.256 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_executors/impl_eventlet.py", line 96, in _executor_thread
2015-07-14 03:28:45.256 5934 TRACE root incoming = self.listener.poll()
2015-07-14 03:28:45.256 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 122, in poll
2015-07-14 03:28:45.256 5934 TRACE root self.conn.consume(limit=1, timeout=timeout)
2015-07-14 03:28:45.256 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 1147, in consume
2015-07-14 03:28:45.256 5934 TRACE root six.next(it)
2015-07-14 03:28:45.256 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 1045, in iterconsume
2015-07-14 03:28:45.256 5934 TRACE root error_callback=_error_callback)
2015-07-14 03:28:45.256 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 853, in ensure
"openvswitch-agent.log" 70801L, 10195852C 1,1 Top
2015-07-14 17:15:16.908 5934 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__'
2015-07-14 17:15:17.910 5934 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__'
2015-07-14 17:15:18.910 5934 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__'
2015-07-14 17:15:18.911 5934 ERROR root [-] Unexpected exception occurred 61 time(s)... retrying.
2015-07-14 17:15:18.911 5934 TRACE root Traceback (most recent call last):
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 95, in inner_func
2015-07-14 17:15:18.911 5934 TRACE root return infunc(*args, **kwargs)
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_executors/impl_eventlet.py", line 96, in _executor_thread
2015-07-14 17:15:18.911 5934 TRACE root incoming = self.listener.poll()
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 122, in poll
2015-07-14 17:15:18.911 5934 TRACE root self.conn.consume(limit=1, timeout=timeout)
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 1147, in consume
2015-07-14 17:15:18.911 5934 TRACE root six.next(it)
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 1045, in iterconsume
2015-07-14 17:15:18.911 5934 TRACE root error_callback=_error_callback)
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 853, in ensure
2015-07-14 17:15:18.911 5934 TRACE root ret, channel = autoretry_method()
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 453, in _ensured
2015-07-14 17:15:18.911 5934 TRACE root return fun(*args, **kwargs)
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 520, in __call__
2015-07-14 17:15:18.911 5934 TRACE root self.revive(create_channel())
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 251, in channel
2015-07-14 17:15:18.911 5934 TRACE root chan = self.transport.create_channel(self.connection)
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/kombu/transport/pyamqp.py", line 91, in create_channel
2015-07-14 17:15:18.911 5934 TRACE root return connection.channel()
2015-07-14 17:15:18.911 5934 TRACE root File "/usr/lib/python2.7/site-packages/amqp/connection.py", line 279, in channel
2015-07-14 17:15:18.911 5934 TRACE root return self.channels[channel_id]
2015-07-14 17:15:18.911 5934 TRACE root TypeError: 'NoneType' object has no attribute '__getitem__'
2015-07-14 17:15:18.911 5934 TRACE root
2015-07-14 17:15:19.913 5934 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__'
2015-07-14 17:15:20.913 5934 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__'
2015-07-14 17:15:21.915 5934 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__'
2015-07-14 17:15:22.915 5934 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__'
2015-07-14 17:15:23.917 5934 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue: 'NoneType' object has no attribute '__getitem__'
====================================================================================================================PS:my environment:� ��CentOS 7.1.� ��OpenStack kilo.setup just follow the guide of :http://docs.openstack.org/kilo/install-guide/install/yum/content/� ��
walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150714/7147dc6b/attachment.html>
More information about the Openstack
mailing list