Hello Gibi.

I looked at your sample code. 
Other than providing the username password of the user in transport url,
transport = oslo_messaging.get_notification_transport(cfg.CONF, url='rabbit://stackrabbit:admin@100.109.0.10:5672/')

What changes are to be done in the nova.conf file? Can you please provide the exact set of changes? 

/anil.


On Wed, Jul 8, 2020 at 5:05 AM Balázs Gibizer <balazs.gibizer@est.tech> wrote:


On Tue, Jul 7, 2020 at 16:32, Julia Kreger
<juliaashleykreger@gmail.com> wrote:
[snip]

>
> Although that being said, I don't think much would really prevent you
> from consuming the notifications directly from the message bus, if you
> so desire. Maybe someone already has some code for this on hand.

Here is some example code that forwards the nova versioned
notifications from the message bus out to a client via websocket [1]. I
used this sample code in my demo [2] during a summit presentation.

Cheers,
gibi

[1]
https://github.com/gibizer/nova-notification-demo/blob/master/ws_forwarder.py
[2] https://www.youtube.com/watch?v=WFq5JWXa9AM