Bug 1610605
| Summary: | rbd json format of 7.6 is incompatible with 7.5 | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Longxiang Lyu <lolyu> | |
| Component: | qemu-kvm-rhev | Assignee: | Virtualization Maintenance <virt-maint> | |
| Status: | CLOSED ERRATA | QA Contact: | CongLi <coli> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 7.6 | CC: | chayang, coli, jomurphy, juzhang, michen, virt-maint | |
| Target Milestone: | rc | Keywords: | Regression | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | qemu-kvm-rhev-2.12.0-16.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1635585 (view as bug list) | Environment: | ||
| Last Closed: | 2018-11-01 11:13:16 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1635585 | |||
My fear is this means is we may need to add additional support in block/rbd.c for explicitly parsing the older key/value pair format, e.g.: rbd:rbd/testimg.raw:mon_host=192.168.15.180 Patch series posted upstream. Unsure if this will become the final solution; it is a bit hacky, but I'm not sure there are any great options to fix it. Fix included in qemu-kvm-rhev-2.12.0-16.el7 Steps as comment 0. Reproduced this issue on qemu-kvm-rhev-2.12.0-15.el7.x86_64: # qemu-img check test.qcow2 qemu-img: Could not open '/home/test.qcow2': Could not open backing file: Parameter 'pool' is missing Verified this bug on qemu-kvm-rhev-2.12.0-16.el7.x86_64: # qemu-img check test.qcow2 qemu-img: RBD options encoded in the filename as keyvalue pairs is deprecated. Future versions may cease to parse these options in the future. No errors were found on the image. Image end offset: 262144 Thanks. (In reply to CongLi from comment #13) > Steps as comment 0. > > Reproduced this issue on qemu-kvm-rhev-2.12.0-15.el7.x86_64: > # qemu-img check test.qcow2 > qemu-img: Could not open '/home/test.qcow2': Could not open backing file: > Parameter 'pool' is missing > > Verified this bug on qemu-kvm-rhev-2.12.0-16.el7.x86_64: > # qemu-img check test.qcow2 > qemu-img: RBD options encoded in the filename as keyvalue pairs is > deprecated. Future versions may cease to parse these options in the future. > No errors were found on the image. > Image end offset: 262144 > > > Thanks. create a snapshot based on image on rbd with old-fashioned json format in RHEL.7.5.z: qemu-kvm-rhev-2.10.0-21.el7_5.3.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3443 |
Description of problem: rbd json format of 7.6 is incompatible with 7.3 Version-Release number of selected component (if applicable): qemu-img-rhev-2.6.0-28.el7_3.14.x86_64 qemu-img-rhev-2.12.0-8.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. create a snapshot based on image on rbd with old-fashioned json format # qemu-img --version qemu-img version 2.6.0 (qemu-kvm-rhev-2.6.0-28.el7_3.14), Copyright (c) 2004-2008 Fabrice Bellard # qemu-img create -f qcow2 -b 'json:{"file.driver":"rbd","file.filename":"rbd:rbd/test.raw"}' test.qcow2 Formatting 'test.qcow2', fmt=qcow2 size=21474836480 backing_file=json:{"file.driver":"rbd",,"file.filename":"rbd:rbd/test.raw"} encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 2. update to latest qemu-kvm and check the snapshot. # qemu-img --version qemu-img version 2.12.0 (qemu-kvm-rhev-2.12.0-8.el7) # qemu-img check test.qcow2 qemu-img: Could not open 'test.qcow2': Could not open backing file: Parameter 'pool' is missing Actual results: fail to check snapshot created with old-fashioned json. Expected results: should be back compatible. Additional info: