[Openstack] kombu / nova bug

Bernhard M. Wiedemann ubuntubmw at lsmod.de
Tue Apr 17 13:41:29 UTC 2012


Hi,

I noticed that one test in the openstack-nova unit tests 
hangs indefinitely, bisected it to find that it started with kombu
commit 9979ea0ac9cc4fd1c6339140b264e781e923d2be

https://bugs.launchpad.net/nova/+bug/974411

and found that this change makes the test pass:

diff --git a/kombu/transport/virtual/__init__.py b/kombu/transport/virtual/__init__.py
index 9d9161b..2495f5a 100644
--- a/kombu/transport/virtual/__init__.py
+++ b/kombu/transport/virtual/__init__.py
@@ -436,7 +436,7 @@ class Channel(AbstractChannel, base.StdChannel):
         self._tag_to_queue[consumer_tag] = queue
         self._active_queues.append(queue)
         if queue in self.auto_delete_queues:
-            self.auto_delete_queues[queue] += 1
+            self.auto_delete_queues[queue] += 0

         def _callback(raw_message):
             message = self.Message(self, raw_message)


however, I don't know whether this is a problem on the kombu or nova side.
Please advise

-- 
Bernhard M. Wiedemann
software engineer

P.S. testing on SLES/openSUSE, but found
"test_iterconsume_errors_will_reconnect SKIP: This tests does not timeout on Ubuntu"
on https://launchpad.net/~openstack-ppa/+archive/bleeding-edge/+build/3379190




More information about the Openstack mailing list