'repeat_actions' default value is false if not setting in template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Angus Salkeld | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Below is the description about how "repeat_actions" would work,
# heat resource-type-show OS::Ceilometer:
... ...
"repeat_
"
"default": "true",
"required": false,
"
"type": "boolean",
"immutable": false
},
... ...
It states that the default value should be "true', even it isn't be explicitly set in the template.
But it seems the default value is false if not being set in the template. Actions are not called if alarm's state has NOT been changed.
Here are logs when "repeat_actions" was not set,
+------
| Property | Value |
+------
| alarm_actions | [u'http://
| | 8342c4d4a369259
| | 49d7512fcd%
| | 7%3A24%
| | 632f90d916ddf5e
| | 5l9CzGFfPTYTcI4
| alarm_id | b8f0a5ab-
| comparison_operator | lt |
| description | ScalingAlarmDownOne |
| enabled | True |
| evaluation_periods | 1 |
| exclude_outliers | False |
| insufficient_
| meter_name | cpu_util |
| name | s-01-ScalingAla
| ok_actions | [] |
| period | 60 |
| project_id | dd0d58342c4d4a3
| query | metadata.
| repeat_actions | False |
| state | ok |
| statistic | avg |
| threshold | 20.0 |
| type | threshold |
| user_id | bd222bd40a374d8
+------
Changed in heat: | |
importance: | Undecided → High |
tags: | added: juno-backport-potential |
Changed in heat: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
tags: | removed: juno-backport-potential |
This should be caused by erroneous properties handling of ceilometer alarm resource.