yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74032
[Bug 1783967] Re: Keystone events are not getting stored in panko db
Yes, it was a configuration issue. After adding the transport_url in
[oslo_messaging_notifications] & few parameters in
[oslo_messaging_rabbit], keystone event reporting works. Thanks
wangxiyuan (wangxiyuan) for the help in resolving this. Cancelling the
bug.
** Changed in: keystone
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1783967
Title:
Keystone events are not getting stored in panko db
Status in OpenStack Identity (keystone):
Invalid
Bug description:
None of the keystone events (like identity.project.created,
identity.project.updated, identity.authenticate.success) are getting
stored in the panko db.
All these events were added to /etc/ceilometer/event_pipeline.yaml
I tried debugging the problem. Below is the flow I found,
Keystone events are getting generated,
https://github.com/openstack/keystone/blob/master/keystone/resource/core.py#L230,
https://github.com/openstack/keystone/blob/master/keystone/notifications.py#L721-L742
but, in oslo_messaging, it doesn't reach here -
https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/notify/notifier.py#L312
this condition fails -
https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/notify/notifier.py#L318.
We should have some error/exception reporting here if the condition is
not satisfied.
Panko listens to the message queue to get the events that are generated, but in this case, though the events are getting generated, they are not reaching the message queue.
ASAIK, events are generated by default except for audit events. So, I am not sure if this could be a config related problem.
Openstack version used - Queens
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1783967/+subscriptions
References