Alarm's severity is missing from rest notifier

Bug #1465641 reported by Yurii Prokulevych
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Pradeep Kilambi
Kilo
Fix Released
Undecided
Unassigned

Bug Description

When alarms are using webhook url for ok/alarm/insufficient data actions info about alarm's severity is not logged.

Excerpt from alarm-notifier.log:
...
2015-06-16 13:51:37.421 50581 DEBUG ceilometer.alarm.service [-] Notifying alarm b02d9a14-90e3-4f34-9ce9-9c3c3513f1b6 with action SplitResult(scheme=u'http', netloc=u'127.0.0.1:18000', path=u'/', query='', fragment='') _handle_action /usr/lib/python2.7/site-packages/ceilometer/alarm/service.py:268
2015-06-16 13:51:37.422 50581 INFO ceilometer.alarm.notifier.rest [-] Notifying alarm ManualAlarm-moderate b02d9a14-90e3-4f34-9ce9-9c3c3513f1b6 from alarm to insufficient data with action SplitResult(scheme=u'http', netloc=u'127.0.0.1:18000', path=u'/', query='', fragment='') because 3 datapoints are unknown. request-id: req-b7ae6f8f-d971-4bf7-a4ed-7fd219a07bd2

2015-06-16 13:51:37.457 50581 DEBUG ceilometer.alarm.service [-] Notifying alarm 39f9aa08-7a1a-40b8-843a-291a83253906 with action SplitResult(scheme=u'http', netloc=u'127.0.0.1:18000', path=u'/', query='', fragment='') _handle_action /usr/lib/python2.7/site-packages/ceilometer/alarm/service.py:268
2015-06-16 13:51:37.458 50581 INFO ceilometer.alarm.notifier.rest [-] Notifying alarm ManualAlarm-low 39f9aa08-7a1a-40b8-843a-291a83253906 from alarm to insufficient data with action SplitResult(scheme=u'http', netloc=u'127.0.0.1:18000', path=u'/', query='', fragment='') because 3 datapoints are unknown. request-id: req-7e7c366e-85a0-4c7b-98ce-a7cc63694b89

2015-06-16 13:51:37.492 50581 DEBUG ceilometer.alarm.service [-] Notifying alarm e94eec8b-bfd4-4ae1-b876-85b96872499f with action SplitResult(scheme=u'http', netloc=u'127.0.0.1:18000', path=u'/', query='', fragment='') _handle_action /usr/lib/python2.7/site-packages/ceilometer/alarm/service.py:268
2015-06-16 13:51:37.492 50581 INFO ceilometer.alarm.notifier.rest [-] Notifying alarm CombinationAlarm e94eec8b-bfd4-4ae1-b876-85b96872499f from alarm to insufficient data with action SplitResult(scheme=u'http', netloc=u'127.0.0.1:18000', path=u'/', query='', fragment='') because Alarms 39f9aa08-7a1a-40b8-843a-291a83253906,b02d9a14-90e3-4f34-9ce9-9c3c3513f1b6 are in unknown state. request-id: req-07c95fb2-63fd-423e-847d-598227cbcf21
...

Thanks,
Yurii

Changed in ceilometer:
assignee: nobody → Pradeep Kilambi (pkilambi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/192199

Changed in ceilometer:
status: New → In Progress
Changed in ceilometer:
status: In Progress → Fix Committed
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → liberty-1
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/212035

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (stable/kilo)

Reviewed: https://review.openstack.org/212035
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=f28b0c4021195c8ddb8c7f1c6bde23f005d5dc9c
Submitter: Jenkins
Branch: stable/kilo

commit f28b0c4021195c8ddb8c7f1c6bde23f005d5dc9c
Author: Pradeep Kilambi <email address hidden>
Date: Tue Jun 16 09:43:20 2015 -0400

    Fix alarm rest notifier logging to include severity

    Change-Id: Ice7d03c3d789ed717feecdcfec83b2589c5a0de2
    Closes-Bug: #1465641
    (cherry picked from commit c888b94c9ed82cafa58b2da24774231643f11519)

tags: added: in-stable-kilo
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: liberty-1 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.