You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Creating Volume Snapshot from VM Snapshot can fail on KVM with Local/NFS Storage #8078
Creating Volume Snapshot from VM Snapshot can fail on KVM with Local/NFS Storage:
Enable global setting to have vmsnapshot use storage, also enable snapshot feature for KVM
Create/take VM snapshot of a VM with root and data disk attached and qemu-guest-agent installed
Now go to the VM snapshot, and create (volume) snapshot from the VM Snapshot which may fail
This issue needs reproduction and may be closed if it's found to work. In my test env, I had a local storage enabled adv KVM zone that used Ubuntu 22.04 LTS/KVM hosts.
changed the title [-]Creating Snapshot from VM Snapshot can fail on KVM with Local/NFS Storage[/-][+]Creating Volume Snapshot from VM Snapshot can fail on KVM with Local/NFS Storage[/+]on Oct 12, 2023
Hey @rohityadavcloud, probably this is not the perfect fix. The snapshot will be created only on secondary storage. The VM snapshots without memory are volume snapshots. That's why there is no need to copy the data twice on primary storage.
Thanks @slavkap I agree, they may be copied to secondary storage directly. Creating volume snapshot from disk-only VM snapshot may still be useful to create backups or create templates from such volume-snapshots.
Activity
[-]Creating Snapshot from VM Snapshot can fail on KVM with Local/NFS Storage[/-][+]Creating Volume Snapshot from VM Snapshot can fail on KVM with Local/NFS Storage[/+]yadvr commentedon Oct 12, 2023
In my env this is consistently failing:
yadvr commentedon Oct 12, 2023
cc @shwstppr - I'm not sure if this is a severe issue though, may be done even in 4.19.1
yadvr commentedon Oct 12, 2023
cc @GutoVeronezi @slavkap if you know of a easy/quick fix to assist on this issue. Thanks.
slavkap commentedon Oct 18, 2023
Hey @rohityadavcloud, probably this is not the perfect fix. The snapshot will be created only on secondary storage. The VM snapshots without memory are volume snapshots. That's why there is no need to copy the data twice on primary storage.
yadvr commentedon Oct 19, 2023
Thanks @slavkap I agree, they may be copied to secondary storage directly. Creating volume snapshot from disk-only VM snapshot may still be useful to create backups or create templates from such volume-snapshots.
shwstppr commentedon Oct 31, 2023
@rohityadavcloud @slavkap do we need anything more here or can it be closed?