Create snapshot from VM snapshot without memory for NFS/Local storage#8117
Create snapshot from VM snapshot without memory for NFS/Local storage#8117DaanHoogland merged 2 commits intoapache:4.18apache/cloudstack:4.18from storpool:snapshot-from-vmsnapshotstorpool/cloudstack:snapshot-from-vmsnapshotCopy head branch name to clipboard
Conversation
DaanHoogland
left a comment
There was a problem hiding this comment.
@slavkap, can you put the new/changed bits of code in new methods?
clgtm otherwise
|
@blueorangutan package |
|
@DaanHoogland a [LL] 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. |
Codecov Report
@@ Coverage Diff @@
## 4.18 #8117 +/- ##
=========================================
Coverage 13.06% 13.06%
- Complexity 9108 9110 +2
=========================================
Files 2720 2720
Lines 257531 257568 +37
Branches 40150 40154 +4
=========================================
+ Hits 33655 33660 +5
- Misses 219648 219677 +29
- Partials 4228 4231 +3
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Packaging result [LL]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6209 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-8009)
|
|
@slavkap is this ready? Can you add test info? |
|
@DaanHoogland, it's ready |
|
@blueorangutan package |
|
@rohityadavcloud 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. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7499 |
There was a problem hiding this comment.
LGTM, tested the following with local storage on adv zone kvm env:
- create vm snapshot of a Ubuntu 22.04 VM with qemu-guest-agent running - pass
- tested vm snapshot revert on a stopped VM - pass
- created volume snapshot from VM snapshot - pass
- created template from this volume snapshot in step-3 and deployed VM - pass
|
@blueorangutan test matrix |
|
@rohityadavcloud a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-8090)
|
|
[SF] Trillian test result (tid-8088)
|
|
[SF] Trillian test result (tid-8089)
|
…apache#8117) (cherry picked from commit 6ae3b73) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Description
This PR fixes #8078
The volume snapshot will be created only on secondary storage.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
Hypervisor KVM
Primary storage NFS