RabbitMQ consumer connection is refused when trying to read notifications

Anil Jangam anilj.mailing at gmail.com
Thu Jul 16 21:41:08 UTC 2020


Hi,

I followed the video and the steps provided in this video link and the
consumer connection is being refused.
https://www.openstack.org/videos/summits/denver-2019/nova-versioned-notifications-the-result-of-a-3-year-journey

/etc/nova/nova.conf file changes..
[notifications]
notify_on_state_change=vm_state
default_level=INFO
notification_format=both

[oslo_messaging_notifications]
driver=messagingv2
transport_url=rabbit://guest:guest@10.30.8.57:5672/
topics=notification
retry=-1

The python consume code is as follows (followed the example provided in the
video:
transport = oslo_messaging.get_notification_transport(
            cfg.CONF, url='rabbit://guest:guest@10.30.8.57:5672/')
targets = [
    oslo_messaging.Target(topic='versioned_notifications'),
]

Am I missing any other configuration in any of the services in OpenStack?

Let me know if you need any other info.

/anil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200716/f4773aec/attachment.html>


More information about the openstack-discuss mailing list