cannot process notifications with list payload

Bug #1484972 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
gordon chung

Bug Description

when building a sample from notifications, if the payload is a list, errors are thrown because we expect payloads to be dict.

https://github.com/openstack/ceilometer/blob/master/ceilometer/sample.py#L83-L98

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/213202

Changed in ceilometer:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/213202
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=c17b294aa9d7820d83cda4e25c7e36d01f1651aa
Submitter: Jenkins
Branch: master

commit c17b294aa9d7820d83cda4e25c7e36d01f1651aa
Author: gordon chung <email address hidden>
Date: Fri Aug 14 11:28:54 2015 -0400

    handle list payloads in notifications

    when processing notifications, the assumption is the payload is
    always a dict. the odd cases, it's not. we should ignore these
    cases.

    Change-Id: I8e24d0c0ba42a67f2877051c683358a411f19e48
    Closes-Bug: #1484972

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: liberty-3 → 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.