NEC plugin fails to process portinfo message after port delete

Bug #1187701 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Akihiro Motoki
Grizzly
Fix Released
Medium
Akihiro Motoki

Bug Description

portinfo RPC message (port_removed, port_added) in NEC plugin may be sent after the corresponding quantum port is deleted. A portinfo RPC message can contain multiple added/removed portinfo and if an exception occurs the remaining portinfos are not processed.

The failure in port_removed can happen in a usual operationing. The order of quantum port deletion and port_removed message is not ensured, since NEC plugin agent polls OVS ports by polling ovsdb.

The failure in port_added does not happen in usual operation. It may occur in a case where some OVS ports are not removed successfully for some reason and nec-agent is restarted after that.

Tags: nec
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
assignee: nobody → Akihiro Motoki (amotoki)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/31776
Committed: http://github.com/openstack/quantum/commit/d3781d5aa12f6c512a455e59ecc6fe10ca908ca9
Submitter: Jenkins
Branch: master

commit d3781d5aa12f6c512a455e59ecc6fe10ca908ca9
Author: Akihiro MOTOKI <email address hidden>
Date: Tue Jun 4 12:37:59 2013 +0900

    Handle portinfo msg after port deletion in NEC plugin

    Fixes bug 1187701

    Change-Id: I9c5ef3320ad6e9438dca9ccccf27f4cedfe4ceec

Changed in quantum:
status: In Progress → Fix Committed
Changed in quantum:
importance: Undecided → Medium
milestone: none → havana-2
Akihiro Motoki (amotoki)
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/32850

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

Reviewed: https://review.openstack.org/32850
Committed: http://github.com/openstack/quantum/commit/38ad51ac034d1b3075dac5b5d4c086d27cede7de
Submitter: Jenkins
Branch: stable/grizzly

commit 38ad51ac034d1b3075dac5b5d4c086d27cede7de
Author: Akihiro MOTOKI <email address hidden>
Date: Tue Jun 4 12:37:59 2013 +0900

    Handle portinfo msg after port deletion in NEC plugin

    Fixes bug 1187701

    Change-Id: I9c5ef3320ad6e9438dca9ccccf27f4cedfe4ceec
    (cherry picked from commit d3781d5aa12f6c512a455e59ecc6fe10ca908ca9)

tags: added: in-stable-grizzly
Gary Kotton (garyk)
tags: removed: grizzly-backport-potential
Alan Pevec (apevec)
tags: removed: in-stable-grizzly
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-2 → 2013.2
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.