We have achieved
xenserver: volume snapshot and vm snapshot
vmware: volume snapshot and vm snapshot
KVM+NFS: volume snapshot and vm snapshot
kvm +ceph: Only support volume snapshots;
kvm+ceph primary storage, it is a very perfect combination.
But we currently do not support KVM+ceph vm snapshots, I think this is a very large feature loss;
Libvrit api does not support vm snapshot in raw format (it may be the biggest obstacle to achieving this function).
We can refer to the openstack processing method:
suspend the vm
use the agent to connect to the ceph api to directly create a snapshot of all the volumes on the vm
Activity
slavkap commented on Jan 6, 2022
@div8cn, there is a PR with a similar solution, but instead of suspending the VM, it will be frozen #3724
nvazquez commented on Feb 4, 2022
@slavkap can you confirm if the PR #3724 fixes this issue?
slavkap commented on Feb 4, 2022
Hi @nvazquez, yes, it follows the described steps, but we freeze the VM instead of suspending it. It should work and for other storages as well
nvazquez commented on Feb 5, 2022
Thanks @slavkap, adding it to the 4.17 milestone tentatively
nvazquez commented on Apr 4, 2022
Hi @div8cn - PR #3724 addresses this issue and is ready now, could you please test it?