DVR Router update task fails when agent restarts

Bug #1702790 reported by Swaminathan Vasudevan on 2017-07-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Undecided
Brian Haley

Bug Description

When there is a DVR router with gateway enabled, and if the agent restarts, then the router_update fails and you can see Error log in the l3_agent.log.

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

Changed in neutron:
assignee: nobody → Swaminathan Vasudevan (swaminathan-vasudevan)
status: New → In Progress
Changed in neutron:
assignee: Swaminathan Vasudevan (swaminathan-vasudevan) → Brian Haley (brian-haley)
Changed in neutron:
milestone: none → pike-rc1

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

commit 7da955bf46e3e62f775afaad936006497e4320e3
Author: Swaminathan Vasudevan <email address hidden>
Date: Thu Jul 6 16:41:17 2017 -0700

    DVR: Fix router_update failure when agent restarts

    Router update task fails when agent restarts with DVR routers
    as it was failing adding an IP rule to the namespace.

    The IP rule matching code was not finding a match for
    a rule for an interface since we are not specifying an
    IP address, but the resulting rule does have the "any" IP
    address in its output, for example, 0.0.0.0/0. Change
    to always supply the IP address.

    Change-Id: Ic2e80ebb59ac9e0e0063e5f6e69f3d66abe775a1
    Closes-Bug: #1702790

Changed in neutron:
status: In Progress → Fix Released

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

tags: added: neutron-proactive-backport-potential

Change abandoned by Brian Haley (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/501053
Reason: Meant to target Ocata not Pike

Reviewed: https://review.openstack.org/501407
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=fc9c146b13f0895cf2cd59e05b185fc4a5a1e1d3
Submitter: Zuul
Branch: stable/ocata

commit fc9c146b13f0895cf2cd59e05b185fc4a5a1e1d3
Author: Swaminathan Vasudevan <email address hidden>
Date: Thu Jul 6 16:41:17 2017 -0700

    DVR: Fix router_update failure when agent restarts

    Router update task fails when agent restarts with DVR routers
    as it was failing adding an IP rule to the namespace.

    The IP rule matching code was not finding a match for
    a rule for an interface since we are not specifying an
    IP address, but the resulting rule does have the "any" IP
    address in its output, for example, 0.0.0.0/0. Change
    to always supply the IP address.

    Conflicts:
        neutron/tests/functional/agent/l3/test_dvr_router.py

    Change-Id: Ic2e80ebb59ac9e0e0063e5f6e69f3d66abe775a1
    Closes-Bug: #1702790
    (cherry picked from commit 7da955bf46e3e62f775afaad936006497e4320e3)

tags: added: in-stable-ocata
tags: removed: neutron-proactive-backport-potential

This issue was fixed in the openstack/neutron 10.0.5 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers