← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1764867] Re: Linuxbridge agent crashes when specifying cfg.CONF.VXLAN.udp_dstport option

 

** 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/1764867

Title:
  Linuxbridge agent crashes when specifying cfg.CONF.VXLAN.udp_dstport
  option

Status in neutron:
  Fix Released

Bug description:
  This error takes place with Neutron master branch. To reproduce,
  specify a value for 'dstport' in the agent's configuration file in the
  [vxlan] section, for example 4789, which is the the IANA defined
  standard value for the UDP port used for VXLAN communication. When re-
  starting the agent with this option, the following traceback ensues:
  http://paste.openstack.org/show/719412/.

  This happens because the value of the 'dstport' option is converted to
  a string here
  https://github.com/openstack/neutron/blob/master/neutron/agent/linux/ip_lib.py#L262,
  before being passed as argument 'vxlan_port' to the pyroute2 library
  to create a VXLAN tunnel. The value passed to pyroute2 in 'vxlan_port'
  must be an integer.

  After changing the code and restarting the agent, we can see that it
  is listening in the specified port (4789 in my example) in 'dstport':

  $ netstat -vaun
  Active Internet connections (servers and established)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State      
  udp        0      0 0.0.0.0:4789            0.0.0.0:*

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



References