Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651976 - app-emulation/lxd-2.21 - lxd daemon --group=lxd: error: Error creating database: schema version '37' is more recent than expected '36'
Summary: app-emulation/lxd-2.21 - lxd daemon --group=lxd: error: Error creating databa...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-30 12:17 UTC by Rajil Saraswat
Modified: 2018-03-31 13:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.