Error: The image used by this instance requires a CGroupV1 host system when using clustering

Hi

I’m using LXD cluster on version 5.0.0 and when I want to lxc launch images:centos/7/amd64 c1 I find this :

Error: The image used by this instance requires a CGroupV1 host system

But when I used LXD without cluster there was no problem and centos ran smoothly.

Thank You.

This isn’t specific a standalone or clustered LXD setups, it is to do with the cgroup setup of the LXD host compared to what the image you’re trying to use requires.

Running older container OSes on more modern host systems that use CGroupV2 can produce this conflict.

To resolve it you need to boot your host system into CGroupV1 mode by modifying your kernel’s boot arguments to include:

systemd.unified_cgroup_hierarchy=false 
3 Likes

Hi, thanks for respone and its working.