alarm-evaluator severity attribute null value causes error in >= juno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aodh |
Invalid
|
Undecided
|
Unassigned | ||
Ceilometer |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
If I create a threshold alarm in Icehouse without providing a value for --severity everything works fine until I upgrade to any newer release (i.e. Juno or above) at which point the alarm-evaluator throws the following error:
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
2016-01-29 12:33:27.966 10419 TRACE ceilometer.
Presumably we could easily assume a default of low severity if a value of None is discovered thus allowing upgrades to continure working.
Changed in aodh: | |
assignee: | nobody → Zi Lian Ji (jizilian) |
Changed in ceilometer: | |
assignee: | nobody → Zi Lian Ji (jizilian) |
Changed in aodh: | |
status: | New → Triaged |
Changed in ceilometer: | |
status: | New → Triaged |
Changed in aodh: | |
assignee: | Zi Lian Ji (jizilian) → nobody |
Changed in ceilometer: | |
assignee: | Zi Lian Ji (jizilian) → nobody |
Changed in ceilometer: | |
status: | Triaged → Invalid |
status: | Invalid → Triaged |
I've added both ceilometer and aodh since the alarm subsystem has moved to its own project for Mitaka but we'd like to see this fix backported to older versions of Openstack.