Failed in local member network in sudo incus admin init

Good morning,

I am trying to initialize my incus server in the next platform:


cat /proc/device-tree/model
NVIDIA Jetson AGX Orin Developer Kit

uname -m
aarch64

With the next OS:

cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

and the incus version that I have installed is the 6.0 LTS

sudo incus version 
Client version: 6.0.3
Server version: 6.0.3

but when I run the next command sudo incus admin init, I got the next error:

Error: Failed to create local member network "incusbr0" in project "default": Failed to setup firewall: Failed adding outbound NAT rules for network "incusbr0" (inet): Failed apply nftables config: Failed to run: nft -f -: exit status 1 (/dev/stdin:4:7-9: Error: No such file or directory; did you mean chain ‘pstrt.incusbr0’ in table inet ‘incus’?
	type nat hook postrouting priority 100; policy accept;
	     ^^^
/dev/stdin:3:7-20: Error: Could not process rule: No such file or directory
chain pstrt.incusbr0 {
      ^^^^^^^^^^^^^^
/dev/stdin:3:7-20: Error: Could not process rule: No such file or directory
chain pstrt.incusbr0 {
      ^^^^^^^^^^^^^^)

I have seen this post with a similar error.

Do you know how to solve it?

Can you tell me how I can see more data about the procedure that incus is executing, to see how
to solve it?

Thanks in advance.

Your kernel is missing some modules.

We’ve seen other similar report of the Ubuntu nvidia kernel missing some needed modules, nothing we can really do about that other than recommend folks to look for alternative kernels in the distro.

thank you for your answer.

I’m a beginner in the kernel aspects, but how can I see which modules incus uses?
Because if the module doesn’t use something specific to the platform, I think I can try installed.

From the error, it sounds like nftables nat support is what’s missing.

For that, you’d need at least nft_chain_nat and nf_nat.