← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1185465] Re: Periodic ValueErrors when using qpid

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1185465

Title:
  Periodic ValueErrors when using qpid

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When using qpid, I see periodic tracebacks like this in various nova
  logs:

  2013-05-26 03:56:03.821 2785 INFO nova.service [-] Caught SIGTERM, exiting
  2013-05-26 03:56:03.831 2785 CRITICAL nova [-] need more than 0 values to unpack
  2013-05-26 03:56:03.831 2785 TRACE nova Traceback (most recent call last):
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/bin/nova-compute", line 85, in <module>
  2013-05-26 03:56:03.831 2785 TRACE nova     service.wait()
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/service.py", line 69
  6, in wait
  2013-05-26 03:56:03.831 2785 TRACE nova     _launcher.wait()
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/service.py", line 21
  9, in wait
  2013-05-26 03:56:03.831 2785 TRACE nova     rpc.cleanup()
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc
  /__init__.py", line 240, in cleanup
  2013-05-26 03:56:03.831 2785 TRACE nova     return _get_impl().cleanup()
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc
  /impl_qpid.py", line 649, in cleanup
  2013-05-26 03:56:03.831 2785 TRACE nova     return rpc_amqp.cleanup(Connection.pool)
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc
  /amqp.py", line 670, in cleanup
  2013-05-26 03:56:03.831 2785 TRACE nova     connection_pool.empty()
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc
  /amqp.py", line 80, in empty
  2013-05-26 03:56:03.831 2785 TRACE nova     self.get().close()
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc
  /impl_qpid.py", line 386, in close
  2013-05-26 03:56:03.831 2785 TRACE nova     self.connection.close()
  2013-05-26 03:56:03.831 2785 TRACE nova   File "<string>", line 6, in close
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.
  py", line 316, in close
  2013-05-26 03:56:03.831 2785 TRACE nova     ssn.close(timeout=timeout)
  2013-05-26 03:56:03.831 2785 TRACE nova   File "<string>", line 6, in close
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 749, in close
  2013-05-26 03:56:03.831 2785 TRACE nova     if not self._ewait(lambda: self.closed, timeout=timeout):
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 566, in _ewait
  2013-05-26 03:56:03.831 2785 TRACE nova     result = self.connection._ewait(lambda: self.error or predicate(), timeout)
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 208, in _ewait
  2013-05-26 03:56:03.831 2785 TRACE nova     result = self._wait(lambda: self.error or predicate(), timeout)
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 193, in _wait
  2013-05-26 03:56:03.831 2785 TRACE nova     return self._waiter.wait(predicate, timeout=timeout)
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/qpid/concurrency.py", line 57, in wait
  2013-05-26 03:56:03.831 2785 TRACE nova     self.condition.wait(3)
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/qpid/concurrency.py", line 96, in wait
  2013-05-26 03:56:03.831 2785 TRACE nova     sw.wait(timeout)
  2013-05-26 03:56:03.831 2785 TRACE nova   File "/usr/lib/python2.6/site-packages/qpid/compat.py", line 53, in wait
  2013-05-26 03:56:03.831 2785 TRACE nova     ready, _, _ = select([self], [], [], timeout)
  2013-05-26 03:56:03.831 2785 TRACE nova ValueError: need more than 0 values to unpack
  2013-05-26 03:56:03.831 2785 TRACE nova

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