[openstack-dev] [keystone]

Ryan Hallisey rhallise at redhat.com
Mon Apr 14 19:02:03 UTC 2014


Hello,

I am unable to send a keystone notification with these parameters in keystone.conf:

rabbit_password = stack
rabbit_hosts = localhost
rpc_backend = rabbit
notification_driver = messaging

When I look at the message queues: sudo /usr/sbin/rabbitmqctl list_queues

notifications.audit	0
notifications.critical	0
notifications.debug	0
notifications.error	0
notifications.info	0
notifications.sample	0
notifications.warn	0
notifications_bis.audit	0
notifications_bis.critical	0
notifications_bis.debug	0
notifications_bis.error	0
notifications_bis.info	0
notifications_bis.sample	0
notifications_bis.warn	0

I don't get a 1 under notifications.info.  Any thoughts about why I am not seeing the notification?

I send the notification by:

import os
import sys
from keystone import config
from oslo import messaging
import pbr.version

CONF = config.CONF
transport = messaging.get_transport(CONF)
notifier = messaging.Notifier(transport,
                              'test_pub_id',
                              driver='messaging',
                              topic='notifications')

notifier.info({}, "some type", "some payload")



Thanks,
Ryan Hallisey



More information about the OpenStack-dev mailing list