2015-08-26 01:17:53 |
Ashwin Agate |
description |
Keystone generates trust notifications with event_type set to identity.OS-TRUST:trust.created and identity.OS-TRUST:trust.deleted, but these notifications are not stored in ceilometer, because of mismatch in meter name happens both in liberty and kilo.
To generate keystone notifications
openstack trust create --project demo --role admin admin demo
openstack delete <trust-id>
1.)
Recent change made in ceilometer (kilo)
https://bugs.launchpad.net/ceilometer/+bug/1392326 fixed problem where identity notification plugin's event_types method was modified to except the new event type containing the "OS-TRUST:" namespace.
But the problem is if the pipeline.yaml contains documented meter "identity.trust.created" or "identity.trust.deleted", that sample gets thrown away since it doesnt match "identity.OS-TRUST:trust.created" (ceilometer.pipeline.SampleSource support_meter(..) returns False)
2.)
Similar mismatch exists in Liberty where meters event_types in meters.yaml is set to identity.trust.created and identity.trust.deleted
https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/data/meters.yaml#L620-L629
Fix would be to change event_type in meters.yaml to identity.OS-TRUST:trust.created and identity.OS-TRUST:trust.deleted. |
Keystone generates trust notifications with event_type set to identity.OS-TRUST:trust.created and identity.OS-TRUST:trust.deleted, but these notifications are not stored in ceilometer, because of mismatch in meter name happens both in liberty and kilo.
To generate keystone notifications
openstack trust create --project demo --role admin admin demo
openstack delete <trust-id>
1.)
Recent change made in ceilometer (kilo)
https://bugs.launchpad.net/ceilometer/+bug/1392326 fixed problem where identity notification plugin's event_types method was modified to accept the new event type containing the "OS-TRUST:" namespace.
But the problem is if the pipeline.yaml contains documented meters "identity.trust.created" or "identity.trust.deleted", that sample gets thrown away since it doesnt match "identity.OS-TRUST:trust.created" (ceilometer.pipeline.SampleSource support_meter(..) returns False)
2.)
Similar mismatch exists in Liberty where event_type in meters.yaml is set to identity.trust.created and identity.trust.deleted
https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/data/meters.yaml#L620-L629
Fix would be to change event_type in meters.yaml to identity.OS-TRUST:trust.created and identity.OS-TRUST:trust.deleted. |
|