Public bug reported:

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

** Affects: keystone
     Importance: Undecided
         Status: New

** Description changed:

  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 events generated, but in this case, 
though the events are getting generated, they are no reaching the message queue.
+ 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

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to