Keystone notifications with RabbitMQ

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?

2 answers

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...)

# 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>