pecan doesn't emit nova or metrics notifications

Bug #1552979 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Kevin Benton

Bug Description

Pecan is not emitting the nova and metrics notifications.

Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
milestone: none → mitaka-rc1
Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: Kevin Benton (kevinbenton) → Salvatore Orlando (salvatore-orlando)
Changed in neutron:
assignee: Salvatore Orlando (salvatore-orlando) → Kevin Benton (kevinbenton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/281124
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=fc954c9426a58e6bdcb744b1e5d131eff99d65e8
Submitter: Jenkins
Branch: master

commit fc954c9426a58e6bdcb744b1e5d131eff99d65e8
Author: Kevin Benton <email address hidden>
Date: Wed Feb 17 00:49:43 2016 -0800

    Add Nova notifier hook calls to pecan

    This patch adds a the Nova notifier calls to the pecan
    notification hook and adds some simple functional tests
    for them as well.

    This patch also alters the operations of the policy enforcement
    hook, which now stores in the request context the original
    value of the object rather than the value of the object as it
    would have appeared to the plugin - that is to say a merge
    between the original objects and the parameters passed on to
    the request body. Such 'frankenobject' is indeed of no use for
    the notifiers.

    Partial-Bug: #1552979
    Change-Id: I4a37197eb38afe15d2b368f4e355226824478792

Changed in neutron:
importance: Undecided → Low
importance: Low → Medium
milestone: mitaka-rc1 → newton-1
Changed in neutron:
milestone: newton-1 → mitaka-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/281181
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e433c2870a2a5a0ec18ae0ffe4d4866915da231a
Submitter: Jenkins
Branch: master

commit e433c2870a2a5a0ec18ae0ffe4d4866915da231a
Author: Kevin Benton <email address hidden>
Date: Wed Feb 17 02:41:39 2016 -0800

    Add metrics notifier to Pecan

    This adds the standard 'object.(create|update|delete).(start|end)'
    notifications to the Pecan notification hook and adds unit tests
    to exercise them.

    This patch also corrects the on_error handler for untranslated
    exceptions which was incorrectly raising the exception rather than
    returning it. This was resulting in the other hooks not getting
    the correct status code on an untranslated exception.

    Closes-Bug: #1552979
    Change-Id: I400f8d3988db204caed25e7c848a415b45d47172

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron 8.0.0.0rc1

This issue was fixed in the openstack/neutron 8.0.0.0rc1 release candidate.

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.