<div dir="ltr">Are you sure that Notifier adds '.info' suffix to the topic that you provided?<div style>I think you should use topic='<a href="http://notification.info">notification.info</a>'.</div><div style>
<br></div><div style>Thanks,</div><div style>Nader.</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 14, 2014 at 12:02 PM, Ryan Hallisey <span dir="ltr"><<a href="mailto:rhallise@redhat.com" target="_blank">rhallise@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am unable to send a keystone notification with these parameters in keystone.conf:<br>
<br>
rabbit_password = stack<br>
rabbit_hosts = localhost<br>
rpc_backend = rabbit<br>
notification_driver = messaging<br>
<br>
When I look at the message queues: sudo /usr/sbin/rabbitmqctl list_queues<br>
<br>
notifications.audit 0<br>
notifications.critical 0<br>
notifications.debug 0<br>
notifications.error 0<br>
<a href="http://notifications.info" target="_blank">notifications.info</a> 0<br>
notifications.sample 0<br>
notifications.warn 0<br>
notifications_bis.audit 0<br>
notifications_bis.critical 0<br>
notifications_bis.debug 0<br>
notifications_bis.error 0<br>
<a href="http://notifications_bis.info" target="_blank">notifications_bis.info</a> 0<br>
notifications_bis.sample 0<br>
notifications_bis.warn 0<br>
<br>
I don't get a 1 under <a href="http://notifications.info" target="_blank">notifications.info</a>. Any thoughts about why I am not seeing the notification?<br>
<br>
I send the notification by:<br>
<br>
import os<br>
import sys<br>
from keystone import config<br>
from oslo import messaging<br>
import pbr.version<br>
<br>
CONF = config.CONF<br>
transport = messaging.get_transport(CONF)<br>
notifier = messaging.Notifier(transport,<br>
'test_pub_id',<br>
driver='messaging',<br>
topic='notifications')<br>
<br>
<a href="http://notifier.info" target="_blank">notifier.info</a>({}, "some type", "some payload")<br>
<br>
<br>
<br>
Thanks,<br>
Ryan Hallisey<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>