Repeat Ceilometer alarm actions by default
The policy actions assume repeat_actions=true. For the situation when cpu is high even when a new server is added. Here we would expect yet-another server to be added but what currently happens is the alarm will be stuck in the alarm state, but with no further actions. We need a default that it sane. Closes-bug: #1242168 Related-bug: #1223347 Change-Id: I4c6a084076a0cc01ebd0d7431d3fac559161e947
This commit is contained in:
parent
3e53c8ee13
commit
4dc987eff3
@ -69,6 +69,7 @@ Resources:
|
||||
Ref: Period
|
||||
evaluation_periods:
|
||||
Ref: EvaluationPeriods
|
||||
repeat_actions: true
|
||||
threshold:
|
||||
Ref: Threshold
|
||||
alarm_actions:
|
||||
|
@ -80,12 +80,11 @@ class CeilometerAlarm(resource.Resource):
|
||||
},
|
||||
'repeat_actions': {
|
||||
'Type': 'Boolean',
|
||||
'Default': 'false',
|
||||
'Description': _('True to trigger actions each time the threshold '
|
||||
'is reached. '
|
||||
'By default, actions are called when : '
|
||||
'the threshold is reached AND the alarm\'s state '
|
||||
'have changed.')
|
||||
'Default': 'true',
|
||||
'Description': _('False to trigger actions when the threshold is '
|
||||
'reached AND the alarm\'s state has changed. '
|
||||
'By default, actions are called each time '
|
||||
'the threshold is reached. ')
|
||||
},
|
||||
'matching_metadata': {
|
||||
'Type': 'Map',
|
||||
|
Loading…
x
Reference in New Issue
Block a user