Uh oh!
There was an error while loading. Please reload this page.
Block use of internal and external snapshots on KVM - #11039
Conversation
JoaoJandre
commented
Jun 16, 2025
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@## main #11039 +/- ##
=========================================
Coverage 17.55% 17.56% - Complexity 15535 15537 +2
=========================================
Files 5911 5912 +1 Lines 529359 529383 +24 Branches 64655 64660 +5 =========================================
+ Hits 92949 92980 +31 + Misses 425952 425942 -10 - Partials 10458 10461 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
JoaoJandre
commented
Jun 16, 2025
@blueorangutan package |
blueorangutan
commented
Jun 16, 2025
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Jun 16, 2025
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 13798 |
blueorangutan
commented
Jun 17, 2025
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 13809 |
DaanHoogland
commented
Jun 17, 2025
|
JoaoJandre
commented
Jun 17, 2025
@blueorangutan package |
blueorangutan
commented
Jun 17, 2025
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Jun 17, 2025
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 13818 |
DaanHoogland
commented
Jun 18, 2025
@blueorangutan package |
blueorangutan
commented
Jun 18, 2025
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Jun 18, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13826 |
rp-
commented
Jul 3, 2025
Linstor does currently not support memory snapshots (we check and throw an error if selected). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
slavkap
left a comment
There was a problem hiding this comment.
code LGTM
I haven't tested it with NFS, but the StorPool smoke tests are executed successfully
DaanHoogland
commented
Jul 8, 2025
@blueorangutan test |
blueorangutan
commented
Jul 8, 2025
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Jul 9, 2025
[SF] Trillian test result (tid-13723)
|
weizhouapache
commented
Aug 28, 2025
@JoaoJandre |
JoaoJandre
commented
Aug 28, 2025
@weizhouapache PR #10632 blocks the usage of the feature introduced in #10632 and other incompatible features. This PR purposefully ignores #10632 and adds restrictions to avoid other interactions between internal and external snapshots; such as volume snapshot and disk-and-memory VM snapshot. They are complementary. When merging this PR forward, care should be taken so that the validations of both PRs do not erase one another (I can make the merge forward if needed). |
ok @JoaoJandre |
blueorangutan
commented
Sep 16, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15030 |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
JoaoJandre
commented
Nov 17, 2025
@blueorangutan package |
blueorangutan
commented
Nov 17, 2025
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 17, 2025
Packaging result [SF]: ✔️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 15784 |
JoaoJandre
commented
Nov 18, 2025
@blueorangutan package |
blueorangutan
commented
Nov 18, 2025
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 18, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✖️ debian ✔️ suse15. SL-JID 15789 |
JoaoJandre
commented
Nov 19, 2025
@blueorangutan package |
blueorangutan
commented
Nov 19, 2025
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 19, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15793 |
weizhouapache
commented
Nov 19, 2025
@blueorangutan test |
blueorangutan
commented
Nov 19, 2025
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Nov 20, 2025
[SF] Trillian test result (tid-14847)
|
DaanHoogland
commented
Nov 21, 2025
@JoaoJandre , are we good to go with this? cc @weizhouapache |
JoaoJandre
commented
Nov 21, 2025
I believe we have all the prerequisites to merge, @DaanHoogland. Shall we? |
Uh oh!
There was an error while loading. Please reload this page.
Description
On KVM, there are two types of snapshots: internal and external. Most snapshot/backup solutions use external snapshots on ACS; save for disk-and-memory VM snapshots, which use internal snapshots (this is a limitation with KVM, as far as I know).
However, since internal snapshots are stored inside the VM's volume (hence the name), if an internal snapshot is taken after an external snapshot and the external snapshot is restored, the internal snapshot is lost.
Thus, this PR blocks the use of disk-and-memory VM snapshots alongside volume snapshots, NAS backups, and disk-only VM snapshots (at least the ones created using the default volume snapshot implementation).
I encourage maintainers of 3rd party storage providers to test if their implementation is compatible with disk-and-memory VM snapshots, if it is not it their simultaneous usage should be blocked.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
I created a VM and created a few disk-and-memory VM snapshots on it; then I tried to create NAS backups, volume snapshots and disk-only VM snapshots, all of them gave me an error, which is expected.
I validated that the opposite was also true for the aforementioned cases, e.g., create volume snapshot and try to create disk-and-memory VM snapshot.
I also validated that it was possible to create multiple NAS backups, disk-only VM snapshots and volume snapshots with no issues.