← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1467633] Re: OVS tunnel interface names are not host unique - Cannot run fullstack tests with more than 2 nodes using tunneling

 

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

commit 1a1ccb8c94ec86e74308632c039d037ee4f90711
Author: Assaf Muller <amuller@xxxxxxxxxx>
Date:   Fri Jun 19 21:20:58 2015 -0400

    Uniquely identify tunnel interfaces for fullstack tests
    
    OVS agent tunnel interfaces are named via:
    '%s-%s' % (tunnel_type, destination_ip)
    
    This means that the tunnel interface name is not unique if
    two OVS agents on the same machine try to form a tunnel with a
    third agent. This happens during full stack tests that start
    multiple copies of the OVS agent on the test machine.
    
    Thus, for full stack tests, to make sure that the tunnel
    interface names created by ovs agents are globally unique, they
    will have the following format :
    '%s-%s-%s' % (tunnel_type, hash of source IP, hash of dest IP)
    
    Since this patch centralizes the formation of the tunnel interface
    name in a dedicated method that is monkey patched by the full stack
    framework, a unit test has been added for this method.
    
    Co-Authored-By: Mathieu Rohon <mathieu.rohon@xxxxxxxxx>
    Closes-Bug: #1467633
    Change-Id: I991af6a5f982746cc297f0248454f803dfbb2daf


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1467633

Title:
  OVS tunnel interface names are not host unique - Cannot run fullstack
  tests with more than 2 nodes using tunneling

Status in neutron:
  Fix Released

Bug description:
  OVS agent tunnel interfaces are named via:
  '%s-%s' % (tunnel_type, destination_ip)

  This means that the tunnel interface name is not unique if
  two OVS agents on the same machine try to form a tunnel with a
  third agent. This happens during full stack tests that start
  multiple copies of the OVS agent on the test machine.

  Making sure that the tunnel interface names are globally
  unique on a host adds support to full stack tests that need 3+
  OVS agents.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1467633/+subscriptions


References