Ceilometer alarm notifier fails if Heat template does not define insufficient_data_actions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Mehdi Abaakouk |
Bug Description
This problem occurs with Havana version of Ceilometer/Heat. I ran this with devstack pulled today.
The following patch has been taken into use so that the alarm info can be successfully inserted to ceilometer DB during heat stack create: https:/
ceilometer-
Precondition is that the alarm has been triggered. In this case the alarm status was changed with "ceilometer alarm-update" command line tool.
log entry in ceilometer-
=======
2013-09-12 12:44:47.503 5317 ERROR ceilometer.
Unable to notify for an alarm with no action
=======
The steps to reproduce the problem:
1) add the following to /etc/ceilometer
- name: "accumulator"
2) restart ceilometer-acompute
3) Create the stack: heat stack-create ha -f <templateFileName>
4) when the stack is up, locate the alarm id of metric "vm_down" with
ceilometer alarm-list
5) Change the alarm status:
ceilometer alarm-update -a <alarmID> --state alarm
6) The log entry above appears in ceilometer-
Changed in ceilometer: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → havana-rc1 |
Changed in ceilometer: | |
assignee: | nobody → Mehdi Abaakouk (sileht) |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | havana-rc1 → 2013.2 |
Forgot to mention that you must give properties KeyName and ImageId suitable values in the template file