Nicira plugin: 500 when removing a router port desynchronized from the backend

Bug #1240720 reported by Salvatore Orlando
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Salvatore Orlando
Havana
Fix Released
Medium
Aaron Rosen

Bug Description

If the logical switch port backing a neutron router interface port (device_owner=network:router_interface) is removed, then the port goes into ERROR state. However the interface remove process still tries to retrieve that port from the NVP backend, causing a 500 error.

Different tracebacks can be generated according to the conditions which led to the switch port (or the peer router port) to be removed from the backend.

Tags: nicira
Changed in neutron:
importance: Undecided → Medium
assignee: nobody → Salvatore Orlando (salvatore-orlando)
milestone: none → icehouse-1
tags: added: nicira
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: New → In Progress
tags: added: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/52232
Committed: http://github.com/openstack/neutron/commit/477dac0373b5e84c71365d7a71b9cc41aafcb491
Submitter: Jenkins
Branch: master

commit 477dac0373b5e84c71365d7a71b9cc41aafcb491
Author: Salvatore Orlando <email address hidden>
Date: Wed Oct 16 15:11:34 2013 -0700

    nvp:log only in rm router iface if port not found

    The code currently raises when it's not able to find the port to be
    deleted on the backend. This might happen, for instance, when the
    port is manually removed or, in some cases, if port creation failed
    in the first place.

    There's little sense in raising when a resource to be removed is not
    found; therefore this patch replaces the raise statement with a log
    statement.

    Bug 1240720

    Change-Id: Ifa756b07ef41346a44325341c8e0e8994dc64dde

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/53018

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

Reviewed: https://review.openstack.org/53018
Committed: http://github.com/openstack/neutron/commit/c89b20624d39a4be79d29e0d94bb83589ef31ccd
Submitter: Jenkins
Branch: stable/havana

commit c89b20624d39a4be79d29e0d94bb83589ef31ccd
Author: Salvatore Orlando <email address hidden>
Date: Wed Oct 16 15:11:34 2013 -0700

    nvp:log only in rm router iface if port not found

    The code currently raises when it's not able to find the port to be
    deleted on the backend. This might happen, for instance, when the
    port is manually removed or, in some cases, if port creation failed
    in the first place.

    There's little sense in raising when a resource to be removed is not
    found; therefore this patch replaces the raise statement with a log
    statement.

    Bug 1240720

    Change-Id: Ifa756b07ef41346a44325341c8e0e8994dc64dde
    (cherry picked from commit 477dac0373b5e84c71365d7a71b9cc41aafcb491)

tags: added: in-stable-havana
tags: removed: havana-backport-potential
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Alan Pevec (apevec)
tags: removed: in-stable-havana
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-1 → 2014.1
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.