openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #10202
kombu / nova bug
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
Follow ups