Adding openvswitch support to nixos

I’m trying to finalize our support for openvswitch on nixos, but it seems I’m missing something (and my ovs knowledge is bit rusty).

Any pointers on why I’m getting this error?

─❯ incus network create test1 --type=bridge bridge.driver=openvswitch
Error: open /proc/sys/net/ipv6/conf/test1/disable_ipv6: no such file or directory
─❯ sudo sysctl -a | rg disable_ipv6
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.enp5s0.disable_ipv6 = 0
net.ipv6.conf.incusbr0.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
net.ipv6.conf.ovs-system.disable_ipv6 = 0
net.ipv6.conf.ovs0.disable_ipv6 = 0
net.ipv6.conf.ovsbr0.disable_ipv6 = 0
net.ipv6.conf.test0.disable_ipv6 = 0

Hey there,

This isn’t a NixOS issue, I just reproduced the same problem here.
I’ll be looking into it and should have it fixed in Incus 0.6.

1 Like

As always, thanks @stgraber. :slight_smile: I hesitated to create a github issue figuring it wasn’t a bug on the incus side, but apparently I was wrong.