Bug 1219372 - Info about 'severity' field changes is not displayed via alarm-history call
Summary: Info about 'severity' field changes is not displayed via alarm-history call
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 8.0 (Liberty)
Assignee: Eoghan Glynn
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-07 08:01 UTC by Yurii Prokulevych
Modified: 2016-04-07 21:01 UTC (History)
5 users (show)

Fixed In Version: openstack-ceilometer-5.0.0-1.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 21:01:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1452264 0 None None None Never
Red Hat Product Errata RHEA-2016:0603 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-08 00:53:53 UTC

Description Yurii Prokulevych 2015-05-07 08:01:55 UTC
Description of problem:


Version-Release number of selected component (if applicable):

rpm -qa | grep ceilo
openstack-ceilometer-common-2015.1.0-1.el7.noarch
openstack-ceilometer-alarm-2015.1.0-1.el7.noarch
openstack-ceilometer-compute-2015.1.0-1.el7.noarch
openstack-ceilometer-collector-2015.1.0-1.el7.noarch
openstack-ceilometer-notification-2015.1.0-1.el7.noarch
openstack-ceilometer-central-2015.1.0-1.el7.noarch
python-ceilometerclient-1.0.13-1.el7.noarch
openstack-ceilometer-api-2015.1.0-1.el7.noarch
python-ceilometer-2015.1.0-1.el7.noarch

Steps to Reproduce:


Changes to the alarm's severity are not displayed in 'ceilometer alarm-history <alarm_id> ' output:

# ceilometer alarm-history 357ce1eb-839e-4782-8676-11a7b7ef5d18
+------------------+---------------------+----------------------------------------------------+
| Type | Timestamp | Detail |
+------------------+---------------------+----------------------------------------------------+
| state transition | 2015-05-06T09:53:37 | state: insufficient data |
| state transition | 2015-05-06T09:50:37 | state: alarm |
| state transition | 2015-05-06T09:20:36 | state: ok |
| rule change | 2015-05-06T09:14:38 | enabled: True |
| rule change | 2015-05-06T07:48:13 | enabled: False |
| creation | 2015-05-06T05:56:40 | name: ThresholdAlarm-1-moderate |
| | | description: Test Alarm TC474397 moderate |
| | | type: threshold |
| | | rule: alarm_meter_1_moderate >= 3.0 during 3 x 60s |
| | | time_constraints: None |
+------------------+---------------------+----------------------------------------------------+

# ceilometer alarm-threshold-update 357ce1eb-839e-4782-8676-11a7b7ef5d18 --severity low >/dev/null 2>&1

# ceilometer alarm-history 357ce1eb-839e-4782-8676-11a7b7ef5d18
+------------------+----------------------------+----------------------------------------------------+
| Type | Timestamp | Detail |
+------------------+----------------------------+----------------------------------------------------+
| rule change | 2015-05-06T11:57:32.345000 | |
| state transition | 2015-05-06T09:53:37.125000 | state: insufficient data |
| state transition | 2015-05-06T09:50:37.021000 | state: alarm |
| state transition | 2015-05-06T09:20:36.895000 | state: ok |
| rule change | 2015-05-06T09:14:38.644000 | enabled: True |
| rule change | 2015-05-06T07:48:13.844000 | enabled: False |
| creation | 2015-05-06T05:56:40.562000 | name: ThresholdAlarm-1-moderate |
| | | description: Test Alarm TC474397 moderate |
| | | type: threshold |
| | | rule: alarm_meter_1_moderate >= 3.0 during 3 x 60s |
| | | time_constraints: None |
+------------------+----------------------------+----------------------------------------------------+

# ceilometer alarm-threshold-update 357ce1eb-839e-4782-8676-11a7b7ef5d18 --severity critical >/dev/null 2>&1

# ceilometer alarm-history 357ce1eb-839e-4782-8676-11a7b7ef5d18
+------------------+----------------------------+----------------------------------------------------+
| Type | Timestamp | Detail |
+------------------+----------------------------+----------------------------------------------------+
| rule change | 2015-05-06T11:58:47.653000 | |
| rule change | 2015-05-06T11:57:32.345000 | |
| state transition | 2015-05-06T09:53:37.125000 | state: insufficient data |
| state transition | 2015-05-06T09:50:37.021000 | state: alarm |
| state transition | 2015-05-06T09:20:36.895000 | state: ok |
| rule change | 2015-05-06T09:14:38.644000 | enabled: True |
| rule change | 2015-05-06T07:48:13.844000 | enabled: False |
| creation | 2015-05-06T05:56:40.562000 | name: ThresholdAlarm-1-moderate |
| | | description: Test Alarm TC474397 moderate |
| | | type: threshold |
| | | rule: alarm_meter_1_moderate >= 3.0 during 3 x 60s |
| | | time_constraints: None |
+------------------+----------------------------+----------------------------------------------------+

Expected results:

Info about alarm's severity change is displayed

Comment 1 Pradeep Kilambi 2015-12-04 17:06:48 UTC
This is fixed in liberty, i would move it to on_qa.

Comment 2 Yurii Prokulevych 2015-12-07 12:41:24 UTC
Packages:
rpm -qa | grep ceilo
openstack-ceilometer-api-5.0.0-2.el7ost.noarch
openstack-ceilometer-collector-5.0.0-2.el7ost.noarch
openstack-ceilometer-common-5.0.0-2.el7ost.noarch
openstack-ceilometer-compute-5.0.0-2.el7ost.noarch
openstack-ceilometer-polling-5.0.0-2.el7ost.noarch
openstack-ceilometer-central-5.0.0-2.el7ost.noarch
openstack-ceilometer-notification-5.0.0-2.el7ost.noarch
python-ceilometerclient-1.5.0-1.el7ost.noarch
python-ceilometer-5.0.0-2.el7ost.noarch
openstack-ceilometer-alarm-5.0.0-2.el7ost.noarch

Comment 4 errata-xmlrpc 2016-04-07 21:01:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0603.html


Note You need to log in before you can comment on or make changes to this bug.