Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 651976

Summary: app-emulation/lxd-2.21 - lxd daemon --group=lxd: error: Error creating database: schema version '37' is more recent than expected '36'
Product: Gentoo Linux Reporter: Rajil Saraswat <rajil.s>
Component: Current packagesAssignee: Erik Mackdanz <stasibear>
Status: RESOLVED INVALID    
Severity: normal CC: proxy-maint, vdupras
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rajil Saraswat 2018-03-30 12:17:26 UTC
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'?
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2018-03-31 12:32:34 UTC
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?
Comment 2 Rajil Saraswat 2018-03-31 13:08:10 UTC
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.