I’d like to try out live migration but some how I can’t get it to work.
I’m running Ubuntu 18.04 and installed lxd 3.0.1 and criu 3.6 via apt.
I’ve setup my two ubuntu hosts infra1 and infra2 as a lxd cluster. The storage pool is based on ceph.
I can create a container e.g. bionic and move it from one server to the other as long as it is stopped.
lxc stop bionic
lxc move bionic --target infra2
lxc start bionic
If I try this when the container is running I get:
Error: Container is running
As it seems it doesn’t even try to migrate the container. Do I have to enable live migration in lxd somehow?
BTW: I can take a statefull snapshot, move the container to the other machine and restore this statefull snapshot on the other machine and it runs just fine.