Is it possible to live migrate in lvmcluster

Hello there,

I recently try a lvmcluster over nvme/fabric. Is this the right command or do I need to optimize or enhanced settings for the lvmcluster drive?
incus storage create rnvme lvmcluster source=shared_vg lvm.vg_name=shared_vg --target=tnode1

In this case, I can easly moved a vm to another cluster member easly but in container side I have a problem. Can it be a bug?

Regards.
indiana@debian:~$ incus move testalpinec --target=tnode3
Error: Migration operation failure: Instance move to destination failed on source: Failed migration on source: Error from migration control target: Failed to activate LVM logical volume “shared_vg/containers_testalpinec”: Failed to run: lvchange --activate ey --ignoreactivationskip shared_vg/containers_testalpinec: exit status 5 (LV locked by other host: shared_vg/containers_testalpinec
Failed to lock logical volume shared_vg/containers_testalpinec.)

And the container was correctly stopped on the source?
I just tried here and I’m not having any problem on Incus 6.22.

bash-5.2# incus launch images:alpine/edge a1 --storage remote-nvme
Launching a1
bash-5.2# incus stop a1
bash-5.2# incus move a1 --target incus03
bash-5.2# incus start a1
bash-5.2# incus stop a1
bash-5.2# incus move a1 --target incus02
bash-5.2# incus move a1 --target incus01
bash-5.2# incus move a1 --target incus03

So this is a container exception, before moving the container to another host we need to stop them, right? Cos I can live migrate vm without stopping.

Regards.

Container live migration is basically not functional in general as the underlying technology (CRIU) needs a bunch of work to function on Incus.

We do have @amikhalitsyn who works for us now and will be looking at some container migration in the coming months which will then make this more relevant again.

Thanks Graber for the quick reply and the explanation.

Regards.