Bug 1745885
| Summary: | 'qemu-img create' an overlay over RBD should look up the directory containing the overlay to find it's backing file | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Tingting Mao <timao> |
| Component: | qemu-kvm | Assignee: | Virtualization Maintenance <virt-maint> |
| qemu-kvm sub component: | Ceph | QA Contact: | zixchen |
| Status: | CLOSED WONTFIX | Docs Contact: | |
| Severity: | low | ||
| Priority: | medium | CC: | coli, hreitz, jinzhao, juzhang, ngu, qzhang, sgarzare, virt-maint, zhenyzha |
| Version: | 8.1 | Keywords: | Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-03-04 09:42:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Tingting Mao
2019-08-27 07:05:27 UTC
For 'qemu-img rebase', will hit below error.
Steps:
1. Create a qcow2 image over rbd
# qemu-img create -f qcow2 rbd:kvmtest-pool/tttt.qcow2 2G
2. Create a base.qcow2 locally
# qemu-img create -f qcow2 new_base.qcow2 2G
3. Rebase
# qemu-img rebase -b new_base.qcow2 -f qcow2 rbd:kvmtest-pool/tttt.qcow2 -p
qemu-img: Could not resolve backing filename: Cannot use relative backing file names for 'json:{"driver": "qcow2", "file": {"pool": "kvmtest-pool", "image": "tttt.qcow2", "driver": "rbd"}}'
QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. Thanks As discussed upstream [1], QCOW2 on RBD is not really well supported and it is expected to be removed. This is also because there doesn't seem to be much advantage to using QCOW2 on RBD. If there is a specific use case where it is useful to use QCOW2 on RBD, please open a new BZ where the requirements are explained. AFAIK layered products, such as OpenStack, do not use QCOW2 with in-QEMU RBD. [1] https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg01045.html As qcow2 on rbd is not really well supported and it is expected to be removed. QA agrees to close this bug. |