validating threshold_rule and combination_rule should according alarm's type
Bug #1288677 reported by
Liusheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Liusheng |
Bug Description
Threshold_rule or combination_rule must be set to an alarm object, and they cannot be set at the same time.
Alarm's type must be one of threshold and combination.
So if when we updating an alarm with Threshold_rule and combination type, the return is error,but the faultstring is:
'UnsetType' object has no attribute 'as_dict'
it is ambiguous.
threshold_rule and combination_rule should be validated according alarm's type.
Changed in ceilometer: | |
assignee: | nobody → Liusheng (liusheng) |
Changed in ceilometer: | |
importance: | Undecided → Medium |
milestone: | none → icehouse-rc1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/78587
Review: https:/