Fix TRACE when removing a DVR router port from a VLAN network

Bug #1423774 reported by Assaf Muller
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Ritesh Anand

Bug Description

ovs_dvr_neutron_agent.*._unbind_distributed_router_interface_port has references to a non-existent self.phys_br. This issue was introduced in

Changed in neutron:
assignee: nobody → Assaf Muller (amuller)
status: New → In Progress
Assaf Muller (amuller)
description: updated
Revision history for this message
Swaminathan Vasudevan (swaminathan-vasudevan) wrote :

Do you have the trace information posted somewhere that we can check.

Revision history for this message
Ritesh Anand (ritesh-anand) wrote :

Tried to reproduce the issue, following steps on devstack:

neutron net-create vlannet --provider:network_type vlan
neutron subnet-create vlannet
nova boot --flavor m1.nano --image cirros-0.3.4-x86_64-uec --nic net-id=1e630ad0-52bc-4c70-90e6-59f0c2b1bf41 vm1
neutron router-create dvr1 --distributed True
neutron router-interface-add dvr1 1e534b6c-1c7b-4926-9870-48b09119eeb8
neutron router-interface-delete dvr1 1e534b6c-1c7b-4926-9870-48b09119eeb8

Was expecting a core dump (Trace) as per the original observation.
Did not see any in q-svc logs...

Some more information on the observation and steps to reproduce will be very helpful

Revision history for this message
Assaf Muller (amuller) wrote :

Ritesh your steps to reproduce are correct, just look for trace in q-agt log. Here's a sample I just reproduced locally:

Revision history for this message
Ritesh Anand (ritesh-anand) wrote :

Thanks Assaf! I am able to see the issue; I see the root cause, will push the patch.

Changed in neutron:
assignee: Assaf Muller (amuller) → Ritesh Anand (ritesh-anand)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Assaf Muller (<email address hidden>) on branch: master
Reason: Superseded by:

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

Submitter: Jenkins
Branch: master

commit 7cd340cb2300ce777f68a390834cdd51f77ad10a
Author: Ritesh Anand <email address hidden>
Date: Thu Jun 25 12:25:12 2015 -0700

    Fixes a typo phys_brs in place of phys_br

    Change-Id: I0301952d5f7d4cd78c5d35c38aa5c6caabcc6298
    Closes-Bug: #1423774

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

Fix proposed to branch: feature/pecan

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (feature/pecan)
Download full text (37.3 KiB)

Submitter: Jenkins
Branch: feature/pecan

commit 966203f89dee8fe61fb2dce654e36e510e80380f
Author: Sukhdev Kapur <email address hidden>
Date: Wed Jul 1 16:30:44 2015 -0700

    Neutron-Ironic integration patch

    This patch is in preparation for the integration
    of Ironic and Neutron. A new vnic_type is being
    added so that ML2 drivers can filter for all
    Ironic ports based upon match for 'baremetal'.
    Nova/Ironic will set this vnic_type when issuing
    port-create request to neutron.
    (e.g. binding:vnic_type = 'baremetal' )

    Change-Id: I25dc9472b31db052719db503a10c1fb1a55572ef
    Partial-Implements: blueprint neutron-ironic-integration

commit 236e408272bcb9b8e957524864e571b5afdc4623
Author: Oleg Bondarev <email address hidden>
Date: Tue Jul 7 12:02:58 2015 +0300

    DVR: fix router scheduling

    Fix scheduling of DVR routers to not stop scheduling once
    csnat portion was scheduled. See bug report for failing

    This partially reverts
    commit 3794b4a83e68041e24b715135f0ccf09a5631178
    and fixes bug 1374473 by moving csnat scheduling
    after general dvr router scheduling, so double binding does
    not happen.

    Closes-Bug: #1472163
    Related-Bug: #1374473
    Change-Id: I57c06e2be732e47b6cce7c724f6b255ea2d8fa32

commit e152f93878b9bb6af7cfedc9e045892fcf7d0615
Author: Assaf Muller <email address hidden>
Date: Sat Aug 8 21:15:03 2015 +0300

    TESTING.rst love

    Change-Id: I64b569048f8f87ea2fe63d861302b4020d36493d

commit 633c52cca1b383af2c900e1663c8682114acd177
Author: sridhargaddam <email address hidden>
Date: Wed Aug 5 10:49:33 2015 +0000

    Avoid dhcp_release for ipv6 addresses

    dhcp_release is only supported for IPv4 addresses [1] and not for
    IPv6 addresses [2]. There will be no effect when it is called with
    IPv6 address. This patch adds a corresponding note and avoids calling
    dhcp_release for IPv6 addresses.


    Change-Id: I8b8316c9d3d011c2a687a3a1e2a4da5cf1b5d604

commit 2de8fad17402f38bbc30204ee2f4f99cf21cb69d
Author: OpenStack Proposal Bot <email address hidden>
Date: Mon Aug 10 06:11:06 2015 +0000

    Imported Translations from Transifex

    For more information about this automatic import see:

    Change-Id: I2b423e83a7d0ac8b23239f81fe33dd8382c6fff6

commit fef79dc7b9162e03c8891645494c115b52d4d014
Author: Henry Gessau <email address hidden>
Date: Mon Aug 3 23:30:34 2015 -0400

    Consistent layout and headings for devref

    The lack of convention for heading levels among the independently
    written devref documents was starting to make the Table of Contents
    look rather messy when rendered in HTML.

    This patch does not cover the "Neutron Internals" section since its

tags: added: in-feature-pecan
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: liberty-3 → 7.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.