[Expired for neutron because there has been no activity for 60 days.]
** Changed in: neutron
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1328524
Title:
to determine ovs version are not using rootwrap
Status in neutron:
Expired
Bug description:
Hello,
Looks like if using neutron in xenserver (neutron-plugin-openvswitch-
agent in domU) than ovs and kernel version check occurs in domU
without rootwrap, so it check domU version but should XenServer.
2014-06-10 15:39:29.508 7264 DEBUG neutron.agent.linux.utils
[req-4ab67729-a51e-451c-a0ef-99cec515202f None] Running command: ['modinfo',
'openvswitch'] create_process
/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:48
2014-06-10 15:39:29.547 7264 DEBUG neutron.agent.linux.utils
[req-4ab67729-a51e-451c-a0ef-99cec515202f None]
Command: ['modinfo', 'openvswitch']
Exit code: 0
Stdout: 'filename:
/lib/modules/3.5.0-51-generic/kernel/net/openvswitch/openvswitch.ko\nlicense:
GPL\ndescription: Open vSwitch switching datapath\nsrcversion:
9A8076958DCAC4F3F34CCA7\ndepends: \nintree: Y\nvermagic:
3.5.0-51-generic SMP mod_unload modversions \n'
Stderr: '' execute
/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:74
2014-06-10 15:39:29.550 7264 DEBUG neutron.agent.linux.utils
[req-4ab67729-a51e-451c-a0ef-99cec515202f None] Running command: ['uname',
'-r'] create_process
/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:48
2014-06-10 15:39:29.588 7264 DEBUG neutron.agent.linux.utils
[req-4ab67729-a51e-451c-a0ef-99cec515202f None]
Command: ['uname', '-r']
Exit code: 0
Stdout: '3.5.0-51-generic\n'
Stderr: '' execute
/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:74
2014-06-10 15:39:29.592 7264 DEBUG neutron.agent.linux.utils
[req-4ab67729-a51e-451c-a0ef-99cec515202f None] Running command:
['/usr/bin/neutron-rootwrap-xen-dom0', '/etc/neutron/rootwrap.conf',
'ovs-vsctl', '--version'] create_process
/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:48
2014-06-10 15:39:29.935 7264 DEBUG neutron.agent.linux.utils
[req-4ab67729-a51e-451c-a0ef-99cec515202f None]
Command: ['/usr/bin/neutron-rootwrap-xen-dom0', '/etc/neutron/rootwrap.conf',
'ovs-vsctl', '--version']
Exit code: 0
Stdout: 'ovs-vsctl (Open vSwitch) 2.1.2\nCompiled Jun 10 2014 08:16:42\n\n'
Stderr: '' execute
/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:74
2014-06-10 15:39:29.940 7264 DEBUG neutron.agent.linux.ovs_lib
[req-4ab67729-a51e-451c-a0ef-99cec515202f None] Checking OVS version for VXLAN
support installed klm version is None, installed Linux version is 3.5.0,
installed user version is 2.1 check_ovs_vxlan_version
/usr/lib/python2.7/dist-packages/neutron/agent/linux/ovs_lib.py:542
2014-06-10 15:39:29.941 7264 ERROR
neutron.plugins.openvswitch.agent.ovs_neutron_agent
[req-4ab67729-a51e-451c-a0ef-99cec515202f None] Agent terminated
2014-06-10 15:39:29.941 7264 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call
last):
2014-06-10 15:39:29.941 7264 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent File
"/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
line 232, in _check_ovs_version
2014-06-10 15:39:29.941 7264 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent
ovs_lib.check_ovs_vxlan_version(self.root_helper)
2014-06-10 15:39:29.941 7264 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/ovs_lib.py", line 551, in
check_ovs_vxlan_version
2014-06-10 15:39:29.941 7264 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent 'kernel', 'VXLAN')
2014-06-10 15:39:29.941 7264 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/ovs_lib.py", line 529, in
_compare_installed_and_required_version
2014-06-10 15:39:29.941 7264 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent raise SystemError(msg)
2014-06-10 15:39:29.941 7264 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!
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1328524/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp