← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1504725] Re: rabbitmq-server restart twice, log is crazy increasing until service restart

 

** Changed in: nova
       Status: Confirmed => Invalid

** No longer affects: nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1504725

Title:
  rabbitmq-server restart twice, log is crazy increasing until service
  restart

Status in neutron:
  New
Status in oslo.messaging:
  Won't Fix

Bug description:
  After I restart the rabbitmq-server for the second time, the service log(such as nova,neutron and so on) is increasing crazy, log is such as " TypeError: 'NoneType' object has no attribute '__getitem__'".
  It seems that the channel is setted to None. 

  trace log:

  2015-10-10 15:20:59.413 29515 TRACE root Traceback (most recent call last):
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 95, in inner_func
  2015-10-10 15:20:59.413 29515 TRACE root     return infunc(*args, **kwargs)
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/oslo_messaging/_executors/impl_eventlet.py", line 96, in _executor_thread
  2015-10-10 15:20:59.413 29515 TRACE root     incoming = self.listener.poll()
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 122, in poll
  2015-10-10 15:20:59.413 29515 TRACE root     self.conn.consume(limit=1, timeout=timeout)
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 1202, in consume
  2015-10-10 15:20:59.413 29515 TRACE root     six.next(it)
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 1100, in iterconsume
  2015-10-10 15:20:59.413 29515 TRACE root     error_callback=_error_callback)
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 868, in ensure
  2015-10-10 15:20:59.413 29515 TRACE root     ret, channel = autoretry_method()
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 458, in _ensured
  2015-10-10 15:20:59.413 29515 TRACE root     return fun(*args, **kwargs)
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 545, in __call__
  2015-10-10 15:20:59.413 29515 TRACE root     self.revive(create_channel())
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 251, in channel
  2015-10-10 15:20:59.413 29515 TRACE root     chan = self.transport.create_channel(self.connection)
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/kombu/transport/pyamqp.py", line 91, in create_channel
  2015-10-10 15:20:59.413 29515 TRACE root     return connection.channel()
  2015-10-10 15:20:59.413 29515 TRACE root   File "/usr/lib/python2.7/site-packages/amqp/connection.py", line 289, in channel
  2015-10-10 15:20:59.413 29515 TRACE root     return self.channels[channel_id]
  2015-10-10 15:20:59.413 29515 TRACE root TypeError: 'NoneType' object has no attribute '__getitem__'
  2015-10-10 15:20:59.413 29515 TRACE root

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1504725/+subscriptions