<div dir="ltr">It seems the aodh properties definition in vitrage [1] is not consistent with the latest ceilometer spec [2].<div><br></div><div>The response_id is now encapsulated in `traits` and we must prepend the scope in query to make it a valid alarm condition, e.g. `query: [{u'field': u'traits.resource_id', u'type': u'string', u'value': u'...'`</div><div><br></div><div>But in vitrage, the resource id is parsed from key 'resource_id' [3] and always get an empty result.</div><div><br></div><div>Could anybody confirm whether this is a bug or not? Tracked in <a href="https://bugs.launchpad.net/vitrage/+bug/1612152">https://bugs.launchpad.net/vitrage/+bug/1612152</a><br><div><br></div><div>- [1] <a href="https://github.com/openstack/vitrage/blob/master/vitrage/datasources/aodh/properties.py#L27" target="_blank">https://github.com/openstack/vitrage/blob/master/vitrage/datasources/aodh/properties.py#L27</a><br></div><div>- [2] </div><div><a href="https://github.com/openstack/ceilometer/blob/master/etc/ceilometer/event_definitions.yaml#L76" target="_blank">https://github.com/openstack/ceilometer/blob/master/etc/ceilometer/event_definitions.yaml#L76</a><br></div></div><div>- [3] <a href="https://github.com/openstack/vitrage/blob/master/vitrage/datasources/aodh/driver.py#L66" target="_blank">https://github.com/openstack/vitrage/blob/master/vitrage/datasources/aodh/driver.py#L66</a></div></div>