Non-working tunnels after IP change of nodes (ovs_tunnel_endpoints doesn't clean)

Bug #1276629 reported by George Shuklin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Romil Gupta

Bug Description

If any OVS-enabled host with GRE tunnes change it IP, neutron do not discard entry in ovs_tunnel_endpoints table and recreate gre-x interfaces in br-tun on every boot.

Expected behavior: automaic removing of entries in ovs_tunnel_endpoints when IP address is changed.

Tags: ovs
Changed in neutron:
assignee: nobody → sandeep mane (sandeep-mane)
Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

I believe this depends on L2 population mechanism driver that should be enabled for such case to be handled properly.

tags: added: ovs
Changed in neutron:
status: New → Incomplete
Revision history for this message
Romil Gupta (romilg) wrote :

It will be fixed as part of this patch set
https://review.openstack.org/#/c/136106/.

Hence, assigning to myself.

Changed in neutron:
assignee: sandeep mane (sandeep-mane) → Romil Gupta (romilg)
Changed in neutron:
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/136106
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=67c4c6d809e4c9e112d9fb848b5bdce9d5cd04ac
Submitter: Jenkins
Branch: master

commit 67c4c6d809e4c9e112d9fb848b5bdce9d5cd04ac
Author: Romil Gupta <email address hidden>
Date: Thu Nov 20 11:32:07 2014 -0800

    Stale VXLAN and GRE tunnel port/flow deletion

    Description:
    Stale GRE and VXLAN tunnel endpoints persists in neutron db this should be
    deleted from the database. Also, if local_ip of L2 agent changes the
    stale tunnel ports and flows persists on br-tun on other Compute Nodes and
    Network Nodes for that remote ip this should also be removed.

    Implementation

    Plugin changes:
    The plugin side changes are covered in following patch-set
    https://review.openstack.org/#/c/121000/.

    Agent changes:
    Added tunnel_delete rpc for removing stale ports and flows from br-tun.
    tunnel_sync rpc signature upgrade to obtain 'host'.
    Added testcases for TunnelRpcCallbackMixin().

    This patch-set agent deals with agent side changes.

    Closes-Bug: #1179223
    Closes-Bug: #1381071
    Closes-Bug: #1276629

    Co-Authored-By: Aman Kumar <email address hidden>
    Co-Authored-By: phanipawan <email address hidden>

    Change-Id: I291992ffde5c3ab7152f0d7462deca2e4ac1ba3f

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-3 → 2015.1.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.