[Bug 1676679] Re: datapath: Add missing case OVS_TUNNEL_KEY_ATTR_PAD

Joseph Salisbury joseph.salisbury at canonical.com
Wed May 17 14:43:09 UTC 2017


Would you be able to run the make scripts inside the headers folder on
the target machine?  That would rebuild the x86 tools as ppc.

This make usually fails at some point. but it rebuilds the necessary
tools that are necessary to build a module.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676679

Title:
  datapath: Add missing case OVS_TUNNEL_KEY_ATTR_PAD

Status in The Ubuntu-power-systems project:
  New
Status in linux package in Ubuntu:
  Fix Committed
Status in openvswitch package in Ubuntu:
  Confirmed
Status in linux source package in Yakkety:
  In Progress
Status in openvswitch source package in Yakkety:
  New
Status in linux source package in Zesty:
  Fix Released
Status in openvswitch source package in Zesty:
  New

Bug description:
  ---Problem Description---
  Recreate and error info:

  Hit a new issue with OVS after updating to the Ubuntu 4.8 kernel from 
  the Ubuntu 4.4 kernel.

  Iperf was used to send traffic between client VMs over VXLAN. The 
  traffic did still flow, but every packet had to go to user space due to 
  the flow creation failures, which drastically impacted performance and 
  cpu utilization.

  When using VXLAN, the following error is showing up in dmesg

  openvswitch: netlink: Unknown IP tunnel attribute 14

  Also there are tons of these errors in the openvswitch log

  2017-03-01T15:50:47.860Z|00018|dpif(handler164)|WARN|system at ovs-system: 
  failed to put[create] (Invalid argument) 
  ufid:2d1a9aeb-7b24-4235-a208-a01f98237e60 recirc_id(0),dp_hash(0/0),skb_pri

  Debug showed that this attribute, OVS_TUNNEL_KEY_ATTR_PAD, was being 
  seen in the switch statement in method, static int ip_tun_from_nlattr, 
  in flow_netlink.c .  Because there is no case for this attribute, the 
  default is hit and returns an error.

  The issue was first seen using the packages in the Ubuntu 4.8 kernel, 
  which is OVS 2.5.  OVS 2.6 and 2.6.1 were also tried with the kernel 
  packages and the same issue was seen.  Tried building OVS 2.7 and 
  loading the openvswitch-datapath-dkms_2.7.0-1_all.deb that got built but 
  the issue persisted.  The proposed patch seems to eliminate the error 
  messages and also fixed the segmentation and performance issues that 
  were seen.
   
  ---uname output---
  stock 4.8 kernel
   
  Machine Type = p8 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   Hit a new issue with OVS after updating to the Ubuntu 4.8 kernel from 
  the Ubuntu 4.4 kernel.

  Iperf was used to send traffic between client VMs over VXLAN. The 
  traffic did still flow, but every packet had to go to user space due to 
  the flow creation failures, which drastically impacted performance and 
  cpu utilization.

  When using VXLAN, the following error is showing up in dmesg

  openvswitch: netlink: Unknown IP tunnel attribute 14

  Link to the patch is https://patchwork.ozlabs.org/patch/738856/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1676679/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list