OVS Agent should fail when enable_distributed_routing = True and l2_population = False

Bug #1417633 reported by Itzik Brown
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Romil Gupta

Bug Description

l2_population is required for DVR both as a mechanism driver and as an option in OVS Agent's configuration.
The agent should fail to start when enable_distributed_routing = True and l2_population = False otherwise the router won't behave as expected.

Version
======
RHEL 7.0
openstack-neutron-2014.2.1-6.el7ost.noarch
openstack-neutron-ml2-2014.2.1-6.el7ost.noarch
python-neutron-2014.2.1-6.el7ost.noarch
openstack-neutron-openvswitch-2014.2.1-6.el7ost.noarch

Assaf Muller (amuller)
tags: added: low-hanging-fruit
Gal Sagie (gal-sagie)
Changed in neutron:
assignee: nobody → Gal Sagie (gal-sagie)
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/165311

Changed in neutron:
status: New → In Progress
Kyle Mestery (mestery)
Changed in neutron:
importance: Undecided → Low
Changed in neutron:
assignee: Gal Sagie (gal-sagie) → Romil Gupta (romilg)
Romil Gupta (romilg)
Changed in neutron:
assignee: Romil Gupta (romilg) → nobody
assignee: nobody → Romil Gupta (romilg)
Changed in neutron:
assignee: Romil Gupta (romilg) → Gal Sagie (gal-sagie)
Changed in neutron:
assignee: Gal Sagie (gal-sagie) → Romil Gupta (romilg)
Gal Sagie (gal-sagie)
Changed in neutron:
assignee: Romil Gupta (romilg) → Gal Sagie (gal-sagie)
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 45cbe9fd9ad3ee872a75e78d6af0618baac0f89d
Author: Gal Sagie <email address hidden>
Date: Wed Mar 18 08:36:29 2015 +0200

    Validate when DVR enabled, l2_pop is also enabled

    The agent should fail to start when
    enable_distributed_routing = True and l2_population = False
    otherwise the router won't behave as expected.

    All the cross subnet traffic (between VMs of the same tenant)
    in DVR is now handled locally on the compute node using the router namespace.
    A Linux namespace is created for every virtual router,
    on each compute node that hosts VMs that are connected to that router.

    The local DVR performs the routing and replaces the source MAC address and
    the destination MAC address for every packet leaving the compute node.
    In order to do that correctly, the router must be populated with
    all the L2 addresses of the attached networks

    Change-Id: Id2b56d852eff4773a347f490b19ad9eefc86af9c
    Closes-Bug: #1417633
    Co-Authored-By: Romil Gupta <email address hidden>

Changed in neutron:
status: In Progress → Fix Committed
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/166707

Romil Gupta (romilg)
Changed in neutron:
status: Fix Committed → In Progress
assignee: Gal Sagie (gal-sagie) → Romil Gupta (romilg)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 1c49571d296db07deb766149fe66756b5b4db66a
Author: Romil Gupta <email address hidden>
Date: Sun Mar 22 23:38:00 2015 -0700

    Follow up patch for Validate when DVR enabled, l2_pop is also enabled

    Reference:
    https://review.openstack.org/#/c/165311/

    For a VLAN underlays, DVR does not mandate l2-pop to be turned ON.

    So just checking for enable_tunneling and validating for l2-pop being
    turned ON is more than sufficient.

    Change-Id: I96695dc623b4ea37d3ef1384eb9ac9c1384d3da3
    Closes-Bug: #1417633

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-rc1 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (neutron-pecan)

Fix proposed to branch: neutron-pecan
Review: https://review.openstack.org/185072

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.