Aodh gnocchi_aggregation_by_resources_threshold alarm update will change alarm query unintentionally
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aodh |
In Progress
|
Undecided
|
Shi Yan |
Bug Description
I am using Pike version AODH.
When updating aodh alarm the alarm query will also be modified, which is not my intention.
For example, I update the granularity of an alarm by using CLI:
aodh alarm update --granularity 60 36973010-
The update is successful but the query of alarm is also changed as below.
Actually every update action will incur the query with more unnecessary condition.
{"and": [{"or": [{"=": {"created_
------------>
{"and": [{"or": [{"=": {"created_
Fix proposed to branch: master /review. openstack. org/511723
Review: https:/