I'm reopening this post since it was 2 years ago and criu has been worked on since then. Any updates on live migration for lxc ?
Thanks for the follow up dietmar.We (still) do not plan to implement that. Please use VMs if you want live migration.
Have any progress about this?there is no working live migration for LXC, and therefore this feature is also not implemented in PVE. we regularly test with newer CRIU versions, but the current state is still far from usable (e.g., open network connections prevent container migration).
I was read this and I'm upset...We (still) do not plan to implement that. Please use VMs if you want live migration.
When it's tentatively planned to add LXC live migrations?
still not in the plans, the situation with CRIU hasn't changed that much.
having CRIU working without bug,hang, crashwhat work would need to be done to make it happen?
Only 6 open active bugs seems like a progress to me.
I am not sure only counting things labelled as crash there is the relevant metric every other open issue is either restore failing, or checkpoint failing, or some thing that is not yet supported but probably happens with real-world system containers..
criu
, lxc-checkpoint
or pct suspend
(in order from low to high level, but pct suspend
is basically just combining locking and calling lxc-checkpoint) and you will pretty much find out that any regular container is not working.. note how the example in the wiki is using a 10 year old ubuntu version (predating most nested namespacing and some namespace types), has no console, and there is basically nothing happening on the LXC side w.r.t. criu: https://github.com/lxc/lxc/commits/main/src/lxc/criu.cI would, if I could, kindly ask the proxmox people to start actively reporting problems to criu people and list when they get a yes, later or no response on the wiki. I hope they get annoyed enough by the periodical and highly repeated question about it but instead of blocking it as a noise they try to get the thing moved. Proxmox is big enough now to make an impression on the criu project that it is important and worths investigating, isn't it?