Uh oh!
There was an error while loading. Please reload this page.
kvm: fix backup volume snapshot fails on RBD storage - #6790
Conversation
volume snapshot fails on RBD storage with the following error qemu-img: Could not open 'driver=raw,file.filename=rbd:cloudstack/test_wei.img:mon_host=10.0.32.254:auth_supported=cephx:id=cloudstack:key=AQDwHTNjjHXRKRAAJb+AToFr6x4a1AvKUc4Ksg==:rbd_default_format=2:client_mount_timeout=30': Could not open 'rbd:cloudstack/test_wei.img:mon_host=10.0.32.254:auth_supported=cephx:id=cloudstack:key=AQDwHTNjjHXRKRAAJb+AToFr6x4a1AvKUc4Ksg==:rbd_default_format=2:client_mount_timeout=30': No such file or directory However, it works without using image options Therefore, do not pass the image options if the image format is not QCOW2 and LUKS.
weizhouapache
commented
Sep 30, 2022
@mlsorensen |
weizhouapache
commented
Sep 30, 2022
@blueorangutan package |
blueorangutan
commented
Sep 30, 2022
@weizhouapache a 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. |
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm, test updated for this, though I am not clear on whether this can be tested more (unit, integration or monkey)
Uh oh!
There was an error while loading. Please reload this page.
weizhouapache
commented
Sep 30, 2022
@blueorangutan package |
blueorangutan
commented
Sep 30, 2022
@weizhouapache a 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. |
blueorangutan
commented
Sep 30, 2022
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 4324 |
weizhouapache
commented
Sep 30, 2022
@blueorangutan test |
blueorangutan
commented
Sep 30, 2022
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Sep 30, 2022
Trillian Build Failed (tid-5060) |
blueorangutan
commented
Sep 30, 2022
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 4325 |
Codecov Report
@@ Coverage Diff @@## main #6790 +/- ##
============================================
+ Coverage 10.52% 10.54% +0.01% - Complexity 6784 6794 +10
============================================
Files 2464 2464 Lines 243989 244171 +182 Branches 38186 38204 +18 ============================================
+ Hits 25690 25751 +61 - Misses 215065 215170 +105 - Partials 3234 3250 +16
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Uh oh!
There was an error while loading. Please reload this page.
weizhouapache
commented
Oct 5, 2022
@blueorangutan package |
blueorangutan
commented
Oct 5, 2022
@weizhouapache a 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. |
Kudos, SonarCloud Quality Gate passed! |
blueorangutan
commented
Oct 5, 2022
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 4354 |
weizhouapache
commented
Oct 5, 2022
@blueorangutan test |
blueorangutan
commented
Oct 5, 2022
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Oct 6, 2022
Trillian test result (tid-5073)
|








Description
This PR fixes the issue that volume snapshot fails on RBD storage with the following error
qemu-img: Could not open 'driver=raw,file.filename=rbd:cloudstack/test_wei.img:mon_host=10.0.32.254:auth_supported=cephx:id=cloudstack:key=AQDwHTNjjHXRKRAAJb+AToFr6x4a1AvKUc4Ksg==:rbd_default_format=2:client_mount_timeout=30': Could not open 'rbd:cloudstack/test_wei.img:mon_host=10.0.32.254:auth_supported=cephx:id=cloudstack:key=AQDwHTNjjHXRKRAAJb+AToFr6x4a1AvKUc4Ksg==:rbd_default_format=2:client_mount_timeout=30': No such file or directory
However, it works without using image options
Therefore, do not pass the image options if the image format is not QCOW2 and LUKS.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?