Upload volume format check with the supported hypervisor, fail if supported hypervisor not found on zone#9224
Conversation
…ported hypervisor not found on zone
|
@blueorangutan package |
|
@sureshanaparti 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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #9224 +/- ##
============================================
- Coverage 14.96% 4.30% -10.67%
============================================
Files 5373 363 -5010
Lines 469311 29312 -439999
Branches 57432 5118 -52314
============================================
- Hits 70230 1261 -68969
+ Misses 391307 27908 -363399
+ Partials 7774 143 -7631
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9871 |
vladimirpetrov
left a comment
There was a problem hiding this comment.
LGTM based on manual testing. Tested with RAW, VHD and OVA volumes on KVM hypervisor and RAW, VHD and QCOW2 on VMWare.
| } | ||
|
|
||
| sanitizeFormat(format); | ||
| checkFormatWithSupportedHypervisorsInZone(format, zoneId); |
There was a problem hiding this comment.
should we still call sanitizeFormat?
There was a problem hiding this comment.
yes @DaanHoogland, it's called before. this is duplicate call. so removed
…ported hypervisor not found on zone (apache#9224)
Description
This PR checks the upload volume format with the supported hypervisor, fail if supported hypervisor not found on zone.
Fixes #8652
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manually tested upload RAW volume from local.
How did you try to break this feature and the system with this change?