vm-import: kvm import and fix volume size when lesser than 1GiB#8500
vm-import: kvm import and fix volume size when lesser than 1GiB#8500DaanHoogland merged 2 commits intoapache:mainfrom
Conversation
|
@blueorangutan package |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #8500 +/- ##
============================================
+ Coverage 30.31% 30.80% +0.48%
- Complexity 33338 33996 +658
============================================
Files 5341 5341
Lines 374971 374971
Branches 54546 54546
============================================
+ Hits 113675 115492 +1817
+ Misses 246276 244211 -2065
- Partials 15020 15268 +248
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@blueorangutan package |
|
@shwstppr 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 8296 |
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
c01e162 to
af84391
Compare
|
@blueorangutan package |
|
@shwstppr 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 8299 |
|
Tested KVM VM import with advanced zone, Macchinina template: Default template VM with two disks, |
|
Also tested cases similar to #8500 (comment) for VMware with advanced zone, |
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm and tested:
- im-/export
- kvm basic zone
- kvm advanced zone
- vmware advanced zone
- all with a small template and the standard template
- migrate with standard template and extra disk
…he#8500) Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Daan Hoogland <daan@onecht.net>
Description
This PR tries to deal with on of the leftovers from #8465 as reported in #8439
Also, fixes the issue reported in #8488 (comment)
Refactors importDisk methods to not do repeated byte to GiB and GiB to byte conversions.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?
Manually tested:
KVM with advanced zone VM import: #8500 (comment)
VMware with advanced zone VM import: #8500 (comment)