server: set download volume format to qcow2 for KVM volumes#11198
server: set download volume format to qcow2 for KVM volumes#11198DaanHoogland merged 2 commits intoapache:4.20from
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #11198 +/- ##
==========================================
Coverage 15.18% 15.18%
- Complexity 11364 11372 +8
==========================================
Files 5415 5415
Lines 475888 476070 +182
Branches 58094 58126 +32
==========================================
+ Hits 72256 72297 +41
- Misses 395546 395683 +137
- Partials 8086 8090 +4
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:
|
...main/java/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java
Show resolved
Hide resolved
nvazquez
left a comment
There was a problem hiding this comment.
Code LGTM - haven't tested it
|
@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. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14288 |
|
@weizhouapache is this ready for review? any further changes needed on this? |
@sureshanaparti |
|
Updated this PR. |
|
@blueorangutan package |
|
@kiranchavala |
shwstppr
left a comment
There was a problem hiding this comment.
@weizhouapache After applying changes I was able to see download volumes are now QCOW2 format.
But this is only for volumes which I tried downloading after upgrade.
If I had already tried a volume before upgrade, it continues to give a RAW file link.
Is this expected?
shwstppr
left a comment
There was a problem hiding this comment.
LGTM. After starting and stopping VM again and then trying to download the volume, the issue mentioned in #11198 (review) is not seen.
|
thanks a lot for the testing @shwstppr |
|
@blueorangutan package |
|
@weizhouapache 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]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 15191 |
|
@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. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15196 |
Description
This PR fixes #10963 #10383 #10937
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?