Alarm id for deleted alarms still shows in combination alarm

Bug #1487411 reported by sanjana
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Aodh
Won't Fix
High
Unassigned
Ceilometer
Invalid
High
Unassigned

Bug Description

 A ceilometer alarm is created as a combination of two threshold alarms with IDs c1b1143d-1a51-470e-ac83-f38c59d529fc and 793d2261-edc2-4c3c-a1e8-9ba64b6a823a.
CREATE COMBINATION ALARM
ceilometer alarm-combination-create --name combination_sample \
  --alarm_ids c1b1143d-1a51-470e-ac83-f38c59d529fc \
  --alarm_ids 793d2261-edc2-4c3c-a1e8-9ba64b6a823a \
  --operator or \
  --alarm-action 'http://example.org/notify'

DELETE ONE OF THE ALARMS
ceilometer alarm-delete c1b1143d-1a51-470e-ac83-f38c59d529fc

QUERY THE DELETED ALARM

ceilometer alarm-show c1b1143d-1a51-470e-ac83-f38c59d529fc
Alarm not found: c1b1143d-1a51-470e-ac83-f38c59d529fc

CHECK THE COMBINATION ALARM

ceilometer --debug alarm-show 03a02f06-9293-4240-867a-b8a947486537
DEBUG (client) RESP BODY: {"alarm_actions": ["http://example.org/notify"], "ok_actions": [], "name": "combination_sample", "severity": "low", "timestamp": "2015-08-21T10:12:51.808493", "enabled": true, "state": "insufficient data", "state_timestamp": "2015-08-21T10:12:51.808493", "alarm_id": "03a02f06-9293-4240-867a-b8a947486537", "time_constraints": [], "insufficient_data_actions": [], "repeat_actions": false, "combination_rule": {"operator": "or", "alarm_ids": ["c1b1143d-1a51-470e-ac83-f38c59d529fc", "793d2261-edc2-4c3c-a1e8-9ba64b6a823a"]}, "user_id": "d9ce6abae3b747f8bf17824a33609da1", "project_id": "c5885810a9694d68a06942d90e5ba0a0", "type": "combination", "description": "Combined state of alarms c1b1143d-1a51-470e-ac83-f38c59d529fc or 793d2261-edc2-4c3c-a1e8-9ba64b6a823a"}

Alarm ID is still shown though the alarm is deleted. (Redundant data)

summary: - Redundant data in ceilometer alarm-list for a combination alarm
+ Alarm id for deleted alarms still shows in combination alarm
Ilya Tyaptin (ityaptin)
Changed in aodh:
assignee: nobody → Ilya Tyaptin (ityaptin)
Changed in ceilometer:
assignee: nobody → Ilya Tyaptin (ityaptin)
Revision history for this message
Liusheng (liusheng) wrote :
Julien Danjou (jdanjou)
Changed in aodh:
status: New → Triaged
Changed in ceilometer:
status: New → Triaged
Changed in aodh:
importance: Undecided → High
Changed in ceilometer:
importance: Undecided → High
Revision history for this message
gordon chung (chungg) wrote :

removing assignee. @Ilya, feel free to take it back if you are actually working on it.

Changed in aodh:
assignee: Ilya Tyaptin (ityaptin) → nobody
Changed in ceilometer:
assignee: Ilya Tyaptin (ityaptin) → nobody
heha (zhanghanqun)
Changed in ceilometer:
assignee: nobody → heha (zhanghanqun)
Vishal (vishaldhanopia)
Changed in aodh:
assignee: nobody → Mark (rocky-asdf)
status: Triaged → In Progress
Vishal (vishaldhanopia)
Changed in aodh:
status: In Progress → Confirmed
gordon chung (chungg)
Changed in ceilometer:
assignee: heha (zhanghanqun) → nobody
Changed in aodh:
assignee: Mark (rocky-asdf) → nobody
gordon chung (chungg)
Changed in aodh:
status: Confirmed → Triaged
Revision history for this message
ZhiQiang Fan (aji-zqfan) wrote :

combination alarm is deprecated to composite alarm

Changed in ceilometer:
status: Triaged → Invalid
Changed in aodh:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.