Update from 5.21LTS to 6.10LTS and fan networking no longer routes between machines

I updated LXD from the 5.21LTS snap to the 6.10LTS snap, since I was waiting for the 6 releases to go LTS a couple of weeks ago. After the update, nothing was starting up correctly. I played with it a bit and gave up, shutdown everything and just came back to it a few weeks later. (Just to baseline why there may be some oddities with time in my brain).

When I looked at it today, I realized that the VMs couldn’t communicate across hosts. Obviously, this was working before. I don’t see anything in iptables or other network tools to look at. The fan was created as part of the Microcloud setup (using LXD & Ceph, not OVN since I only have a single NIC per host).

I didn’t find any checklists for upgrading, so I just updated the snaps in the order Microccloud indicated. Ceph is fine, the LXD cluster is fine, stand alone VMs are fine. When I have components (such as Gitea + database + runners) that are deployed across hosts, they no longer communicate.

The network:

$ lxc network show lxdfan0
name: lxdfan0
description: ""
type: bridge
managed: true
status: Created
config:
  bridge.mode: fan
  fan.overlay_subnet: 10.0.0.0/16
  fan.underlay_subnet: 192.168.1.0/24
  ipv4.nat: "true"
used_by:
<snip>
- /1.0/profiles/default
locations:
- hydra2
- hydra1
- hydra3
project: default

Ubuntu:

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.5 LTS"

Snaps:

$ sudo snap list
Name        Version                Rev    Tracking       Publisher   Notes
core24      20260824               2124   latest/stable  canonical✓  base
core26      20260925               646    latest/stable  canonical✓  base
lxd         6.10.1-f5c750d         41228  6/stable       canonical✓  in-cohort,held
microceph   19.2.3+snapc58b401554  2136   squid/stable   canonical✓  in-cohort,held
microcloud  3.4.1-2c3a8bb          2564   3/stable       canonical✓  in-cohort,held
snapd       2.77.1                 28254  latest/stable  canonical✓  snapd

Any suggestions before I tear everything down and start from scratch? (There are 20+ VMs, so I’d rather not go that route!)

Thanks!

For what it’s worth, I did try to create a new fan network, and it’s the same. No routing between hosts. From the host to its subnet, everything is fine. Between hosts to other subnets, it doesn’t work.

I thought I spotted some conversation at one point that suggested the Ubuntu Fan will no longer be supported in Ubuntu 26.04. Is this true? Where does one go with a single NIC per host for networking then? OVN won’t setup on my hosts (tried it) without actually being a network guru. :man_shrugging:

Hi @rg68,

Can you please open an issue in the LXD repository for this with as much detail as possible. If you have a from scratch reproducer for the issue that would be very helpful. Thanks, Mark.

Hey @rg68,

There are some known issues with Fan networking (Bug #2141703 “vxlan module not loaded automatically when creatin...” : Bugs : linux package : Ubuntu and Bug #2141715 “FAN bridges broken inside containers on Noble HWE ...” : Bugs : linux package : Ubuntu). They might not be related to the issue you are facing. Could you please let us know which kernel you run on your hosts? Also, please try to see if loading the vxlan dependent module before starting LXD (=> add a /etc/modules-load.d/ snippet and reboot) make any difference.

As for Ubuntu Fan’s future, there is a tension between it being useful and being an experiment that lived for too long, see https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/2063298.

Thanks! I think that bug conversation must have been what I saw with Fan (maybe) going away.

$ sudo lsmod | grep vxlan
vxlan                 155648  0
ip6_udp_tunnel         16384  1 vxlan
udp_tunnel             32768  1 vxlan
$ uname -a
Linux hydra1 6.8.0-147-generic #147-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 24 11:33:16 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.5 LTS"

Looks like vxlan is present (on all 3 nodes), and Ubuntu 24.04. (I tried 26.04 at one point and found Fan was DOA in that environment.)

And looking at the first two bug reports, if I understood, folks were getting errors. I get no errors. Just no traffic moving between the hosts. :man_shrugging:

I did - Upgrade from 5.21 LTS to 6.10 LTS using Ubuntu Fan -- Fan network stops routing · Issue #19465 · canonical/lxd · GitHub

Uncertain what else to put in there. Not being a networking person (it’s magic!) I’m grasping at straws. :wink: