← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1537788] [NEW] fullstack : unable to run more than two hosts with vxlan networks

 

Public bug reported:

The following fullstack test environment, which setup 3 ovs agents with
vxlan networks, won't work :

class Test3Hosts(base.BaseFullStackTestCase):

    def setUp(self):
        host_descriptions = [
            environment.HostDescription(l3_agent=False) for _ in range(3)]
        env = environment.Environment(
            environment.EnvironmentDescription(
                network_type='vxlan', l2_pop=False),
            host_descriptions)
        super(TestLiveMig, self).setUp(env)

The following ERROR is reported by l2agent :

2016-01-25 14:15:34.697 11315 ERROR neutron.agent.ovsdb.impl_vsctl [req-
81645c90-3ff5-44fb-a7ef-9218e314e6d3 - - - - -] Unable to execute ['ovs-
vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-
exist', 'add-port', 'br-tun531659792', 'vxlan-f1e0367f', '--', 'set',
'Interface', 'vxlan-f1e0367f', 'type=vxlan', 'options:df_default=true',
u'options:remote_ip=241.224.54.127', 'options:local_ip=255.152.193.6',
'options:in_key=flow', 'options:out_key=flow']. Exception: Exit code: 1;
Stdin: ; Stdout: ; Stderr: ovs-vsctl: "--may-exist add-port br-
tun531659792 vxlan-f1e0367f" but vxlan-f1e0367f is actually attached to
bridge br-tun885607940

Since names of vxlan ports are deduced by destination IP of the vxlan
tunnel, every ovs agents deduce the same vxlan port name. Hence, only
one vxlan port gets created, but every ovs agent is trying to attach it
to its own br-tun.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: fullstack

** Tags added: fullstack

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

Title:
  fullstack : unable to run more than two hosts with vxlan networks

Status in neutron:
  New

Bug description:
  The following fullstack test environment, which setup 3 ovs agents
  with vxlan networks, won't work :

  class Test3Hosts(base.BaseFullStackTestCase):

      def setUp(self):
          host_descriptions = [
              environment.HostDescription(l3_agent=False) for _ in range(3)]
          env = environment.Environment(
              environment.EnvironmentDescription(
                  network_type='vxlan', l2_pop=False),
              host_descriptions)
          super(TestLiveMig, self).setUp(env)

  The following ERROR is reported by l2agent :

  2016-01-25 14:15:34.697 11315 ERROR neutron.agent.ovsdb.impl_vsctl
  [req-81645c90-3ff5-44fb-a7ef-9218e314e6d3 - - - - -] Unable to execute
  ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--',
  '--may-exist', 'add-port', 'br-tun531659792', 'vxlan-f1e0367f', '--',
  'set', 'Interface', 'vxlan-f1e0367f', 'type=vxlan',
  'options:df_default=true', u'options:remote_ip=241.224.54.127',
  'options:local_ip=255.152.193.6', 'options:in_key=flow',
  'options:out_key=flow']. Exception: Exit code: 1; Stdin: ; Stdout: ;
  Stderr: ovs-vsctl: "--may-exist add-port br-tun531659792 vxlan-
  f1e0367f" but vxlan-f1e0367f is actually attached to bridge br-
  tun885607940

  Since names of vxlan ports are deduced by destination IP of the vxlan
  tunnel, every ovs agents deduce the same vxlan port name. Hence, only
  one vxlan port gets created, but every ovs agent is trying to attach
  it to its own br-tun.

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