Alarm API does not validate schema in alarm_actions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Rikimaru Honjo |
Bug Description
Currently, alarm API does not validate schema in alarm_actions.
When invalid schema is specified, error occurs later in alarm notifier.
Schema should be validated in advance in API.
Reproduce:
1.For example, an alarm with alarm_actions is set to 'spam:/
$ curl -v -X POST -H 'X-Auth-
2.When alarm notifier try to notify with the alarm_action defined, following error occurs.
2014-07-14 16:25:30.721 4429 ERROR ceilometer.
Changed in ceilometer: | |
assignee: | nobody → Rikimaru Honjo (honjo-rikimaru-c6) |
Changed in ceilometer: | |
importance: | Undecided → Medium |
milestone: | none → juno-3 |
Changed in ceilometer: | |
milestone: | juno-3 → juno-rc1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/107330
Review: https:/