Oslo.messaging.notify.Notifier uses oslo.messaging.Transport as an interface for different transport drivers. The method oslo.messaging.Transport.send_notifications calls the driver method send which has a different signature than send_notification. Thus, the version number gets used as wait_for_reply flag and the whole notification process hangs while waiting for a reply.
Fix:
--- a/oslo/messaging/transport.py
+++ b/oslo/messaging/transport.py
@@ -91,7 +91,7 @@ class Transport(object):
if not target.topic:
raise exceptions.InvalidTarget('A topic is required to send',
target)
- self._driver.send(target, ctxt, message, version)
+ self._driver.send_notification(target, ctxt, message, version)
def _listen(self, target):
if not (target.topic and target.server):
Christian,
Can you please submit a gerritt review?
https:/ /wiki.openstack .org/wiki/ How_To_ Contribute# If_you. 27re_a_ developer /wiki.openstack .org/wiki/ Gerrit_ Workflow
https:/
thanks,
dims