Description of problem: Currently aodh cannot create a alarm when a user or project is created, so event cannot be tracked with Ceilomenter/gnocchi. Looks like there is a metric resource but it is not defined: (openstack) metric resource show identity Resource 6a693fd6-47bb-5c4d-8b74-d9c57b34636d does not exist (HTTP 404) Customer is requesting the ability to monitor the event of user and project creation. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.(openstack) metric resource show identity Actual results: Resource 6a693fd6-47bb-5c4d-8b74-d9c57b34636d does not exist (HTTP 404) Expected results: identity resource exists and an aodh alarm can be created that monitors user and project creation Additional info: Customer indicated the following lines in events_defitions.yaml: - event_type: ['identity.user.*', 'identity.project.*', 'identity.group.*', 'identity.role.*', 'identity.OS-TRUST:trust.*', 'identity.region.*', 'identity.service.*', 'identity.endpoint.*', 'identity.policy.*'] traits: &identity_crud resource_id: fields: payload.resource_info initiator_id: fields: payload.initiator.id project_id: fields: payload.initiator.project_id domain_id: fields: payload.initiator.domain_id
I don't really get how you want to use Aodh, but: The command "openstack metric resource show identity" is wrong, it looks for a 'generic' resource with 'identify' as resource_id, that's obviously not exists. I think you're are looking for "openstack metric resource list -r identity" to list identity metrics. Also Gnocchi does not record events but metrics/measures and events_definitions.yaml is related to events, not metrics. Can you explain what you are trying to achieve ? (Then we will see if Aodh/Gnocchi/Ceilometer fit the use-case) Note that RFE for OSP10 will not be accepted at this point, new future are currently targeted for OSP14/OSP15.
We don't have any answer since two weeks, so I'm closing this. Feel free to reopen with the answers of the questions.