I have created some containers in Ubuntu 18.04 (Bionic) which uses the same version as Gentoo (2.21). Unfortunately, LXD refuses to run. # lxd daemon --group=lxd WARN[03-30|17:42:08] AppArmor support has been disabled because of lack of kernel support WARN[03-30|17:42:08] Couldn't find the CGroup blkio, I/O limits will be ignored. WARN[03-30|17:42:08] Couldn't find the CGroup network class controller, network limits will be ignored. WARN[03-30|17:42:08] Couldn't find the CGroup pids controller, process limits will be ignored. error: Error creating database: schema version '37' is more recent than expected '36' How can i get LXD in gentoo to scehama version '37'?
To be sure: what exactly are you doing? Running a LXD daemon inside a ubuntu 18.04 container that runs on a gentoo host? The output we're seeing here is the output of a command being ran in the ubuntu 18.04 container?
I had created some containers in 18.04 and was trying to use them in Gentoo. Figured out that 18.04 uses a version 3 of lxd and gentoo is version 2.21 hence the incompatibility.