Periodic watcher task fails when OS::Heat::CWLiteAlarm is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Tatiana Kholkina |
Bug Description
I create a stack with the following template (minimal working example to reproduce the bug):
heat_template_
resources:
my_restarter:
type: OS::Heat:
properties:
InstanceId: {get_resource: my_server}
my_server:
type: OS::Nova::Server
properties:
flavor: m1.tiny
image: Fedora-
my_alarm:
type: OS::Heat:
properties:
AlarmActions: [{ get_resource: my_restarter}]
Period: 60
Stack is created successfully but 60 seconds later heat engine shows the following error message:
File "/opt/stack/
fn = getattr(self, 'do_%s' % self.rule[
KeyError: 'Statistic'
Changed in heat: | |
assignee: | nobody → Tetiana Lashchova (tlashchova) |
Changed in heat: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/137137
Review: https:/