When listening for update.start, ceilometer-notification-agent
will raise a KeyError exception. This is because, the "id" in notification
message is in message['payload'] not the message['payload'][resource].
Backport note, squashed with dependent patch:
Don't override the original notification message
(commit 4292ebd9d409a09b1e1f276ed447c82317cd14de)
Change-Id: I6dd56fbf31c29e26670068004f6fc935b91266f0
(cherry picked from commit 658b89941299370db67b34e8b26750f00c013ca9)
Closes-Bug: #1325172
Reviewed: https:/ /review. openstack. org/130341 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=28f502751fe 1f2ca9646f26f7a 10a718ecf4ee2b
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 28f502751fe1f2c a9646f26f7a10a7 18ecf4ee2b
Author: Mehdi Abaakouk <email address hidden>
Date: Fri Jul 25 17:26:49 2014 +0200
Fix listener for update.start notifications
When listening for update.start, ceilometer- notification- agent 'payload' ][resource] .
will raise a KeyError exception. This is because, the "id" in notification
message is in message['payload'] not the message[
Backport note, squashed with dependent patch:
Don't override the original notification message b1e1f276ed447c8 2317cd14de)
(commit 4292ebd9d409a09
Change-Id: I6dd56fbf31c29e 26670068004f6fc 935b91266f0 db67b34e8b26750 f00c013ca9)
(cherry picked from commit 658b89941299370
Closes-Bug: #1325172