ubuntu_fan_smoke_test failed on 4.4/4.15/4.18 kvm & azure kernel

Bug #1763323 reported by Po-Hsu Lin on 2018-04-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
linux (Ubuntu)
Medium
Unassigned
Xenial
Medium
Unassigned
Bionic
Undecided
Unassigned
Cosmic
Undecided
Unassigned
linux-kvm (Ubuntu)
Undecided
Unassigned
Xenial
Undecided
Unassigned
Bionic
Undecided
Unassigned
Cosmic
Undecided
Unassigned

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)

Po-Hsu Lin (cypressyew) wrote :

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1763323

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux (Ubuntu Xenial):
importance: Undecided → Medium
status: New → Triaged
Changed in linux (Ubuntu):
status: Incomplete → Triaged

Can be found on 4.15 kvm as well.

summary: - ubuntu_fan_smoke_test failed on 4.4 X-kvm kernel
+ ubuntu_fan_smoke_test failed on 4.4/4.15 kvm kernel
tags: added: bionic
Sean Feole (sfeole) wrote :

Hi Sam, is this still an issue?
+60 day bug with no action on it, marking bug as incomplete and will
close in 5 days if no update.

Changed in ubuntu-kernel-tests:
status: New → Incomplete
Po-Hsu Lin (cypressyew) wrote :

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.

Sean Feole (sfeole) on 2018-09-28
summary: - ubuntu_fan_smoke_test failed on 4.4/4.15 kvm kernel
+ ubuntu_fan_smoke_test failed on 4.4/4.15 kvm & azure kernel
tags: added: azure

Spotted on Cosmic KVM as well.

summary: - ubuntu_fan_smoke_test failed on 4.4/4.15 kvm & azure kernel
+ ubuntu_fan_smoke_test failed on 4.4/4.15/4.18 kvm & azure kernel
Po-Hsu Lin (cypressyew) on 2018-11-23
tags: added: cosmic
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers