alarm status doesn't change
I want to test autoscaling process I modified pipeline.yaml file but the alarm state is always insufficient data and does'nt change to ok or alarm. In the template: evaluation_periods: 1 In pipeline.yaml: interval: 60
I had such a problem with manually created alarms. It turned out that:
I set the alarm period to 60 and the interval to 60 it didn't work :/
The problem was in the matching-metadata properties in the ceilometer alarm when I delete this properties the autoscaling work but why I find it in every template examples? What's used for?
Congratulations for finding the cause! My understanding is that the matching metadata ensure that the correct meter is used. See for example the comment at the end of https://github.com/openstack/heat-tem.... I can't say why it doesn't work in your case.
Perhaps you don't set the metering metadata item on your instances. See line 79 in the template I referenced.