Ask Your Question
0

how to subscribe to those keystone events?

asked 2016-11-22 19:19:48 -0500

Kent Wu gravatar image

Hi,

I'm actually only interested in the tenant update event which was specified here:

http://docs.openstack.org/developer/keystone/event_notifications.html (http://docs.openstack.org/developer/k...)

But this link doesn't mention which topic I should subscribe to.....Can somebody provide that info or share the working sample code then?

Thanks.

-Kent

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-24 12:10:12 -0500

volenbovsky gravatar image

Hi, That is 'notifications.info' (that is topic name and routing key - that can be considered synonyms? but I am not sure about the aspects) Base name in notification_topics in keystone.conf and is 'notifications' by default. Topic exchange in this case is keystone

edit flag offensive delete link more

Comments

Hi thx for the info. I can get the notifications now! But it seems that the keystone notifications are delivered in a round-robin fashion across all the registered consumers. So in my testing my callback is not always invoked....Is there a way to always get those notifications then?

Kent Wu gravatar imageKent Wu ( 2016-11-29 13:37:03 -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: 2016-11-22 19:19:48 -0500

Seen: 32 times

Last updated: Nov 24 '16