Ask Your Question
0

Keystone notifications with RabbitMQ

asked 2014-08-12 02:57:35 -0500

Qrilka gravatar image

I couldn't set up RabbitMQ for Keystone notifications. Debugging the source code shows that for some reason I get no "rabbit" driver (the one I set as notification_driver in keystone.conf) registered as extension in namespase 'oslo.messaging.notify.drivers' -https://github.com/openstack/oslo.messaging/blob/master/oslo/messaging/notify/notifier.py#L133 I couldn't find any instructions how should oslo.messaging._driver.impl_rabbit be configured in Keystone and suppose that it should be done automatically by Keystone itself Is thery any example of configured Keystone and its notifications consumer?

edit retag flag offensive close merge delete

Comments

setup.py for oslo.messaging has corresponding entry points - https://github.com/openstack/oslo.messaging/blob/master/setup.cfg#L30 (https://github.com/openstack/oslo.mes...)

Qrilka gravatar imageQrilka ( 2014-08-13 04:09:13 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-08-13 04:26:39 -0500

Qrilka gravatar image

It appears that notification_driver should be set to "messaging" (or "messagingv2") according to entry_points in https://github.com/openstack/oslo.messaging/blob/master/setup.cfg#L45 (https://github.com/openstack/oslo.mes...)

edit flag offensive delete link more
0

answered 2014-08-12 10:25:33 -0500

What are your settings for

# Driver or drivers to handle sending notifications. (multi
# valued)
#notification_driver=

# A URL representing the messaging driver to use and its full
# configuration. If not set, we fall back to the rpc_backend
# option and driver specific configuration. (string value)
#transport_url=<none>
 
edit flag offensive delete link more

Comments

notification_driver=rabbit just like I say in the question above

Qrilka gravatar imageQrilka ( 2014-08-12 11:02:09 -0500 )edit

Driver should be set to messaging

Haneef Ali gravatar imageHaneef Ali ( 2014-08-13 10:19:23 -0500 )edit

thanks, I have found that answer as you could see nearby

Qrilka gravatar imageQrilka ( 2014-08-13 10:21:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-12 02:57:35 -0500

Seen: 1,102 times

Last updated: Aug 13 '14