← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1269805] [NEW] XenServer 6.2 OVS problem

 

Public bug reported:

When setup Neutron + XenServer 6.2 I faced this error in neutron-
openvswitch-agent log in hosts compute node:

2014-01-03 10:48:13.319 2364 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-ofctl', 'mod-flows', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,table=21,dl_vlan=2,actions=strip_vlan,set_tunnel:3,output:2,3']. Exception:
Command: ['/usr/bin/neutron-rootwrap-xen-dom0', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'mod-flows', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,table=21,dl_vlan=2,actions=strip_vlan,set_tunnel:3,output:2,3']
Exit code: 96
Stdout: ''
Stderr: 'Traceback (most recent call last):\n  File "/usr/bin/neutron-rootwrap-xen-dom0", line 116, in run_command\n host, \'netwrap\', \'run_command\', {\'cmd\': json.dumps(user_args)})\n  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__\n    return self.__send(self.__name, args)\n  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in xenapi_request\n    result = _parse_result(getattr(self, methodname)(*full_params))\n  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 203, in _parse_result\n    raise Failure(result[\'ErrorDescription\'])\nFailure: [\'XENAPI_PLUGIN_FAILURE\', \'run_command\', \'PluginError\', \'ovs-ofctl: unknown keyword hard_timeout\\n\']\n

DHCP for instances is not working either.
There looks similar issue:  https://bugs.launchpad.net/neutron/+bug/1221926
XenServer 6.2 has old version of OVS - 1.4.6. After upgrading to 1.9.3 problem is solved and DHCP works well.
How upgrade OVS in XS - http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.XenServer;hb=HEAD

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: neutron ovs xenserver

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

Title:
  XenServer 6.2 OVS problem

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When setup Neutron + XenServer 6.2 I faced this error in neutron-
  openvswitch-agent log in hosts compute node:

  2014-01-03 10:48:13.319 2364 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-ofctl', 'mod-flows', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,table=21,dl_vlan=2,actions=strip_vlan,set_tunnel:3,output:2,3']. Exception:
  Command: ['/usr/bin/neutron-rootwrap-xen-dom0', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'mod-flows', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,table=21,dl_vlan=2,actions=strip_vlan,set_tunnel:3,output:2,3']
  Exit code: 96
  Stdout: ''
  Stderr: 'Traceback (most recent call last):\n  File "/usr/bin/neutron-rootwrap-xen-dom0", line 116, in run_command\n host, \'netwrap\', \'run_command\', {\'cmd\': json.dumps(user_args)})\n  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__\n    return self.__send(self.__name, args)\n  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in xenapi_request\n    result = _parse_result(getattr(self, methodname)(*full_params))\n  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 203, in _parse_result\n    raise Failure(result[\'ErrorDescription\'])\nFailure: [\'XENAPI_PLUGIN_FAILURE\', \'run_command\', \'PluginError\', \'ovs-ofctl: unknown keyword hard_timeout\\n\']\n

  DHCP for instances is not working either.
  There looks similar issue:  https://bugs.launchpad.net/neutron/+bug/1221926
  XenServer 6.2 has old version of OVS - 1.4.6. After upgrading to 1.9.3 problem is solved and DHCP works well.
  How upgrade OVS in XS - http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.XenServer;hb=HEAD

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


Follow ups

References