[AODH] AODH cannot retrieve statistics for alarms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Dmitry Burmistrov |
Bug Description
Information about ISO is here http://
Steps to reproduce:
1. Deploy an environment with 3 controllers+mongo, 1 compute, Ceilometer and AODH enabled, Cinder LVM
2. Create an alarm
aodh alarm create -t threshold --name test_alarm -m test --period 600 --statistic avg --comparison-
3. Create a sample
ceilometer sample-create -m test -r 1234567890 --meter-type delta --meter-unit test-unit --sample-volume 5
3. Check statistics for this metric
+------
| Period | Period Start | Period End | Max | Min | Avg | Sum | Count | Duration | Duration Start | Duration End |
+------
| 0 | 2016-02-26T08:36:04 | 2016-03-
+------
Expected result:
Alarm state was changed to 'alarm'
Actual result:
Alarm state is 'insufficient data':
root@node-1:~# aodh alarm list -t threshold
+------
| alarm_id | name | state | severity | enabled | repeat_actions | time_constraints | threshold_rule |
+------
| 9a3543bb-
+------
In /var/log/
Changed in mos: | |
assignee: | MOS Ceilometer (mos-ceilometer) → Dmitry Burmistrov (dmburmistrov) |
status: | Confirmed → Fix Committed |
Please, use http:// paste.openstack .org/ instead of internal and update a description then