<div dir="ltr"><div><div><div><div><div><div>Hello, guys!<br><br></div>We faced with Glance notifications issue during Tempest tests for Ceilometer. We tried to send notification by ourselves (during investigation we've found that Glance uses almost the same code):<br>
</div><br>from oslo.config import cfg<br>from oslo import messaging<br><br><br>CONF.rabbit_host = 'localhost'<br>CONF.rabbit_port = 5672<br>CONF.rabbit_use_ssl = False<br>CONF.rabbit_userid = 'guest'<br>CONF.rabbit_password = 'guest'<br>
CONF.rabbit_virtual_host = '/'<br>CONF.rabbit_notification_exchange = 'glance'<br>CONF.rabbit_notification_topic = 'notifications'<br>CONF.rabbit_durable_queues = False<br>CONF.notification_driver = 'rabbit'<br>
<br>tr = messaging.get_transport(CONF, 'rabbit://')<br>n = messaging.Notifier(tr, 'messaging', 'image.localhost')<br><a href="http://n.info">n.info</a>({},'image.hello_world', 'Hello, World!') <br>
<br></div>And no messages were detected in Rabbit. And no ERRORs. <br></div>Please advice, maybe this issue is known?<br><br></div>Thanks for any help,<br></div>Nadya<br></div>