| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
related to #9270 it fixes the smoke test failures |
Sorry, something went wrong.
Codecov ReportAttention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #10880 +/- ##
============================================
- Coverage 16.40% 16.39% -0.02%
+ Complexity 13630 13626 -4
============================================
Files 5705 5708 +3
Lines 503722 504063 +341
Branches 61034 61103 +69
============================================
+ Hits 82647 82651 +4
- Misses 411889 412214 +325
- Partials 9186 9198 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry.
|
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13412 |
Sorry, something went wrong.
There was a problem hiding this comment.
Good catch @weizhouapache !
Sorry, something went wrong.
…/storage/LibvirtStorageAdaptor.java Co-authored-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
|
@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. |
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13414 |
Sorry, something went wrong.
|
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
Sorry, something went wrong.
There was a problem hiding this comment.
code ltgm
Sorry, something went wrong.
|
@weizhouapache is this worth a smoke test? |
Sorry, something went wrong.
yes, test_network failed as it uses ubuntu 22 cloud image which is raw format. |
Sorry, something went wrong.
|
Hey @weizhouapache I randomly stumbled upon another bug on the convert using --bitmaps. I'm still investigating how to best fix it, but I believe that we could add the fix in this PR, as it is in the same workflow. I'll try to get back to this on monday. |
Sorry, something went wrong.
|
[SF] Trillian test result (tid-13331)
|
Sorry, something went wrong.
thanks @JoaoJandre |
Sorry, something went wrong.
|
@weizhouapache so the bug I had found was when using very old images, they would not support bitmaps and the copy process would throw me this error: Failed to convert [/mnt/b59eff0f-5b97-37ed-a513-9e1983d1d19b/2784ec51-4776-4b03-9a85-198c465e7d25] to [/mnt/a66f48f5-13c6-3676-b320-a15d32bbf32f/2784ec51-4776-4b03-9a85-198c465e7d25] due to: [qemu-img: Source lacks bitmap support]. org.apache.cloudstack.utils.qemu.QemuImgException: qemu-img: Source lacks bitmap support Looking at the Qemu-img source code (see https://github.com/qemu/qemu/blob/master/block/qcow2-bitmap.c#L1767), this error is thrown when the IMG version is lower then 3. So I've added a check to verify it before adding the --bitmaps option: version.txt (I can't upload .patch files due to a github bug apparently) |
Sorry, something went wrong.
@JoaoJandre |
Sorry, something went wrong.
If you want to leave both contexts separated, I'm ok with it. I'll open a PR with the patch once this PR is merged. |
Sorry, something went wrong.
|
the smoke test test_network uses template with RAW format. merging |
Sorry, something went wrong.
* kvm: fix vm deployment from RAW template * Update plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java Co-authored-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com> --------- Co-authored-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Description
This PR fixes the vm deployment if template is RAW.
2025-05-16T09:32:39,205 ERROR [kvm.storage.LibvirtStorageAdaptor] (AgentRequest-Handler-2:[]) (logid:9d528179) Failed to convert [/mnt/71c96d7c-9e42-5184-83e3-0786cfa3e7d2/34cbcd76-aafb-53a9-9ad3-1596ce9389ff.raw] to [/mnt/db98865f-20d0-30d8-bcad-bec75452cb56/e1eceab0-863a-46c2-b0a2-100a2fbf3d09] due to: [qemu-img: Source lacks bitmap support]. org.apache.cloudstack.utils.qemu.QemuImgException: qemu-img: Source lacks bitmap support at org.apache.cloudstack.utils.qemu.QemuImg.convert(QemuImg.java:477) at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.copyPhysicalDisk(LibvirtStorageAdaptor.java:1613) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.copyPhysicalDisk(KVMStoragePoolManager.java:459)RAW does not support bitmaps.
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?