Discussed with smb and jvosburgh, this issue is similar to bug 1570565,
some configs are missing for the KVM kernel.

$ grep -e VXLAN -e IPIP ubuntu-*-kvm/debian.kvm/config/config.common.ubuntu
ubuntu-bionic-kvm/debian.kvm/config/config.common.ubuntu:# CONFIG_NET_IPIP is 
not set
ubuntu-bionic-kvm/debian.kvm/config/config.common.ubuntu:# CONFIG_VXLAN is not 
set

ubuntu-xenial-kvm/debian.kvm/config/config.common.ubuntu:CONFIG_NET_IPIP=y
ubuntu-xenial-kvm/debian.kvm/config/config.common.ubuntu:# CONFIG_VXLAN is not 
set

The fan tunneling uses IPIP or VXLAN, if both of these config were
disabled, then this fan stuff is not expected to work and the test
should be disabled on the KVM kernel.

But the IPIP was enabled on Xenial KVM kernel, we will need to discuss
this.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1763323

Title:
  ubuntu_fan_smoke_test failed on 4.4/4.15 kvm kernel

Status in ubuntu-kernel-tests:
  Confirmed
Status in linux package in Ubuntu:
  Triaged
Status in linux-kvm package in Ubuntu:
  New
Status in linux source package in Xenial:
  Triaged
Status in linux-kvm source package in Xenial:
  New

Bug description:
  The "enable disable fan test" will fail with Xenial KVM kernel

  Error message:
    RTNETLINK answers: Operation not supported
    /usr/sbin/fanctl: ip link add ftun0 type vxlan id 16384000 dev ens4 dstport 
0 local 10.246.72.56 fan-map 250.0.0.0/8:10.246.0.0/16
    /usr/sbin/fanctl: WARNING: ftun0: failed to configure address translation
    RTNETLINK answers: Cannot assign requested address
    iptables v1.6.0: Couldn't load target `fan-egress':No such file or directory

    Try `iptables -h' or 'iptables --help' for more information.
    iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: No chain/target/match by that name.
    rm: cannot remove '/run/ubuntu-fan/nat-core': No such file or directory
    /usr/sbin/fanatic: unable to bring fan up, unable to configure

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-1021-kvm 4.4.0-1021.26
  ProcVersionSignature: User Name 4.4.0-1021.26-kvm 4.4.117
  Uname: Linux 4.4.0-1021-kvm x86_64
  ApportVersion: 2.20.1-0ubuntu2.16
  Architecture: amd64
  Date: Thu Apr 12 10:22:57 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-kvm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1763323/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to