I answer to myself ;) I've added some configuration stuff in keystone.conf :
notification_driver = keystone.openstack.common.notifier.rpc_notifier notification_topics = notifications control_exchange = identity And I've added a entry points for a plugin ceilometers.identity.notifications : [ceilometer.collector] project_created = ceilometer.identity.notifications.project:ProjectCreated project_deleted = ceilometer.identity.notifications.project:ProjectDeleted project_updated = ceilometer.identity.notifications.project:ProjectUpdated In ceilometers.conf, subscribe to the newly identity exchange channel http_control_exchanges=identity identity_control_exchange=ceilometer.identity.notifications Voila It works, I received notification for project.* J De : MICHON Anthony [mailto:anthony.mic...@eurogiciel.fr] Envoyé : lundi 10 février 2014 12:44 À : openstack@lists.openstack.org Objet : [Openstack] [Ceilometer/Telemetry] How to receive events fromkeystone/identity component ? Hi all I need to call custom action on receiving event identity.project.updated sent by keystone. I began to write a plugin notification agent in ceilometers to listen to it. But I figured lately in the following diagram http://docs.openstack.org/developer/ceilometer/_images/1-Collectorandagents.png that keystone would not sending event in the notification bus ! Besides there is no configuration variable on exchange channel to listen from keystone, only nova, glance, neutron and cinder : # Exchanges name to listen for notifications (multi valued) #http_control_exchanges=nova #http_control_exchanges=glance #http_control_exchanges=neutron #http_control_exchanges=cinder My environnements : RDO on Centos (qpid based bus) Devstack on ubuntu (rabbitmq), notice that the process_notification is never called, even for nova events (instance.*), that's another problem So my questions : - Is keystone definitely out of bus notification with ceilometers ? - Should I use a pollster (and call the identity api) rather ? - Or should I adopt another strategy to listen keystone events ? Thanks. Anthony
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack