← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1322139] [NEW] VXLAN kernel requirement check for openvswitch agent is not working

 

Public bug reported:


on RHEL7 beta agent set to use VXLAN tunneling does not start.
I'm using rdo packages, if you want I can check the upstream version somewhere, but seems that code that checks the version is still in github.

in openvswitch-agent.log I see:

2014-05-21 13:53:21.762 1814 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-ce4eadcb-4cbb-4c09-a404-98ecb5383fa5 None] Agent terminated
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 231, in _check_ovs_version
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     ovs_lib.check_ovs_vxlan_version(self.root_helper)
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ovs_lib.py", line 551, in check_ovs_vxlan_version
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     'kernel', 'VXLAN')
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ovs_lib.py", line 529, in _compare_installed_and_required_version
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     raise SystemError(msg)
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent SystemError: Unable to determine kernel version for Open vSwitch with VXLAN support. To use VXLAN tunnels with OVS, please ensure that the version is 1.10 or newer!
2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent 

It seems that the minimum kernel version required to use VXLAN is set to
3.13 (shouldn't 3.9 be enough ?). RHEL7 ships only 3.10. Vxlan module
however is present and working, and even if the only module properly
working is in 3.13 kernel, the check doesn't take into consideration
backported features.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  VXLAN kernel requirement check for openvswitch agent is not working

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  
  on RHEL7 beta agent set to use VXLAN tunneling does not start.
  I'm using rdo packages, if you want I can check the upstream version somewhere, but seems that code that checks the version is still in github.

  in openvswitch-agent.log I see:

  2014-05-21 13:53:21.762 1814 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-ce4eadcb-4cbb-4c09-a404-98ecb5383fa5 None] Agent terminated
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 231, in _check_ovs_version
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     ovs_lib.check_ovs_vxlan_version(self.root_helper)
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ovs_lib.py", line 551, in check_ovs_vxlan_version
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     'kernel', 'VXLAN')
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ovs_lib.py", line 529, in _compare_installed_and_required_version
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     raise SystemError(msg)
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent SystemError: Unable to determine kernel version for Open vSwitch with VXLAN support. To use VXLAN tunnels with OVS, please ensure that the version is 1.10 or newer!
  2014-05-21 13:53:21.762 1814 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent 

  It seems that the minimum kernel version required to use VXLAN is set
  to 3.13 (shouldn't 3.9 be enough ?). RHEL7 ships only 3.10. Vxlan
  module however is present and working, and even if the only module
  properly working is in 3.13 kernel, the check doesn't take into
  consideration backported features.

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


Follow ups

References