Ask Your Question
0

aodh alarm threshold not supported

asked 2017-04-29 21:37:52 -0600

nebukazar gravatar image

updated 2017-04-29 21:53:53 -0600

Hi,

We installed Packstack Ocata a few days ago and are currently testing auto-scaling through senlin/heat/ceilometer/aodh. We are able to create the cluster; nodes are being created, receiver is being created as well. The alarm is still being created with no issues; at least, we're not getting any error messages.

However, by taking a look at the the aodh's evaluator.log logfile, we're seeing the following error message:

2017-04-29 22:26:03.564 3380 WARNING aodh.evaluator.threshold [-] This telemetry installation is not configured to support alarm of type 'threshold', they should be disabled or removed.

We're stress-testing the 2 instances created by the cluster with CPUs usage averaging @ 96-100%, however, the alarm doesn't seem to be triggered.

By testing the receiver URL directly through curl, we're still able to manually trigger the receiver and therefore we're able to automatically add new instances to the senlin cluster.

When querying aodh directly; we're still seeing the alarm state at "insufficient data":

# aodh alarm list
+--------------------------------------+-----------+----------+-------------------+----------+---------+
| alarm_id                             | type      | name     | state             | severity | enabled |
+--------------------------------------+-----------+----------+-------------------+----------+---------+
| 9129ee5c-ae8e-4514-9736-a28d25f25b15 | threshold | cpu-high | insufficient data | low      | True    |
+--------------------------------------+-----------+----------+-------------------+----------+---------+

Not sure if this should be a "normal" behavior...

Does any one know what might be the problem ?

We're using:

  • Packstack AIO - Ocata;
  • CentOS 7.3 x64;
  • Senlin from GitHub repository, using the 'ocata' branch.

Which comes with the following RPMs:

openstack-heat-engine-8.0.0-1.el7.noarch
openstack-ceilometer-common-8.0.0-2.el7.noarch
openstack-ceilometer-collector-8.0.0-2.el7.noarch
openstack-aodh-common-4.0.0-1.el7.noarch
python-ceilometermiddleware-1.0.0-1.el7.noarch
openstack-heat-common-8.0.0-1.el7.noarch
openstack-ceilometer-central-8.0.0-2.el7.noarch
openstack-aodh-notifier-4.0.0-1.el7.noarch
puppet-heat-10.3.0-1.el7.noarch
puppet-aodh-10.3.0-1.el7.noarch
puppet-ceilometer-10.3.0-1.el7.noarch
openstack-heat-api-cloudwatch-8.0.0-1.el7.noarch
openstack-ceilometer-polling-8.0.0-2.el7.noarch
openstack-aodh-evaluator-4.0.0-1.el7.noarch
python2-ceilometerclient-2.8.0-1.el7.noarch
python2-aodhclient-0.8.0-1.el7.noarch
openstack-aodh-api-4.0.0-1.el7.noarch
openstack-heat-api-8.0.0-1.el7.noarch
python-ceilometer-8.0.0-2.el7.noarch
openstack-ceilometer-api-8.0.0-2.el7.noarch
openstack-aodh-listener-4.0.0-1.el7.noarch
openstack-heat-api-cfn-8.0.0-1.el7.noarch
openstack-ceilometer-notification-8.0.0-2.el7.noarch
python-aodh-4.0.0-1.el7.noarch
python2-heatclient-1.8.0-1.el7.noarch
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-01 03:43:45 -0600

yprokule gravatar image

@nebukazar - indeed, threshold alarms ain't supported. Reason - default publisher is gnocchi, so all the data is stored there.

Please check: - https://docs.openstack.org/developer/...

edit flag offensive delete link more

Comments

I've made some progress... I found out that I have to use the "gnocchi_aggregation_by_resources_threshold" type when creating the aodh alarm. However, I'm still unable to provide my cluster_ID to the alarm's query as the resource-type provided is "instance" - is there a way to provide a cluster_id ?

nebukazar gravatar imagenebukazar ( 2017-05-05 08:45:20 -0600 )edit

@nebukazar - the cluster consists of instances, doesn't it? If so add some metadata to vms during creation and use query as in example:

query:
  str_replace:
    template: '{"=": {"server_group": "stack_id"}}'
    params:
      stack_id: {get_param: "OS::stack_id"}
yprokule gravatar imageyprokule ( 2017-05-10 04:18:27 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-04-29 21:37:52 -0600

Seen: 642 times

Last updated: May 05 '17