Comment 3 for bug 2050009

Revision history for this message
Simon Fels (morphis) wrote :

Hey Ken,

Thanks for the summary!

If you run `pro enable anbox-cloud` it will setup the LXD snap to track 5.0/stable as we only recommend to use LTS versions at this point. Non LTS LXD versions are only supported for ~1 month so you would be in a continuous update mode. We currently do not enforce a specific version of LXD but it must be >= 5.0 (likely to become a >= 6.0 at some point).

The error you see indicates a mismatch between the ZFS tooling the LXD snap includes vs. what the version of the kernel module in the kernel you run is.

From the logs it's not explicit if you run the 5.15 or 6.5 kernel at the moment the failure occurs. The LXD 5.19 snap has newer ZFS userspace tooling but the one part of the 5.0 snap should be still compatible.

I've took a blank 22.04 VM here and installed the 6.5 HWE kernel via

$ sudo apt install --install-recommends linux-generic-hwe-22.04

Using LXD 5.0 I can replicate your issue. The problem has been fixed for LXD 5.0 already (see https://github.com/canonical/lxd-pkg-snap/pull/258) and the fix will roll out shortly. If you're fine with using LXD 5.19+, then please go ahead with that.