Bug 1536636
Summary: | qemu-img commit fails with "block/file-posix.c:1774: find_allocation: Assertion `offs >= start' failed" | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Bimal Chollera <bcholler> | |
Component: | qemu-kvm-rhev | Assignee: | Ademar Reis <areis> | |
Status: | CLOSED ERRATA | QA Contact: | Longxiang Lyu <lolyu> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 7.4 | CC: | bcholler, chayang, coli, cww, jcoscia, juzhang, knoel, lmiksik, lolyu, michen, mjenner, mkalinin, mrezanin, mtessun, ngu, pingl, rhodain, virt-maint, ylavi | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | Flags: | juzhang:
needinfo-
|
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | qemu-kvm-rhev-2.12.0-1.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1566369 (view as bug list) | Environment: | ||
Last Closed: | 2018-11-01 11:04:08 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: | 1566369 |
Description
Bimal Chollera
2018-01-19 19:30:59 UTC
Hi, the following is my interpretation of this bug: 1. a base raw image located on glusterfs. 2. make a qcow2 snapshot(either live or offline) on glusterfs. 3. commit the snapshot to base image. Is the process above correct? Fail to reproduce with the following component: ovirt-engine-4.1.9-0.2.el7.noarch host: kernel-3.10.0-693.el7.x86_64 qemu-kvm-rhev-2.9.0-16.el7_4.13 libvirt-daemon-3.2.0-14.el7_4.7.x86_64 vdsm-4.19.45-1.el7ev.x86_64 1. create snapshot and start VM from snapshot. 2. dd inside guest. 3. commit image. 4. boot from base image the check for dd file. Will downgrade the components for further investigation. Fail to reproduce in the rhel(3.10.0-693.2.1.el7.x86_64) host with same components as listed in bug: glusterfs-3.8.4-18.6.el7rhgs.x86_64 libvirt-3.2.0-14.el7_4.3.x86_64 vdsm-4.19.31-1.el7ev.x86_64 qemu-kvm-rhev-2.9.0-16.el7_4.5 reproduce steps(through rhv web UI): 1. make a snapshot of fedora guest. guest base image is a 20G raw. 2. boot the snapshot. 3. dd inside guest. 8G files created. 4. shutdown guest then do off-line commit. The commit resulted in no error. Upstream patch (accepted in master for 2.12): https://lists.nongnu.org/archive/html/qemu-devel/2018-04/msg00105.html glusterfs version: glusterfs-server-3.8.4-18.6.el7rhgs.x86_64 glusterfs server and client are the same machine. 1. bug reproduction qemu version: qemu-kvm-rhev-2.9.0-16.el7_4.5.x86_64 a. mount the volume # mount.glusterfs 127.0.0.1:gv0 /mnt/gluster1 b. convert a 7G qcow2 to raw # qemu-img convert -f qcow2 -O raw -p /mnt/gluster1/rhel75-64-virtio-scsi.qcow2 /mnt/gluster1/disk.raw qemu-img: block/file-posix.c:1774: find_allocation: Assertion `offs >= start' failed. Aborted (core dumped) 2. verification of fix qemu version qemu-img-rhev-2.12.0-1.el7.x86_64 a. do the conversion # qemu-img convert -f qcow2 -O raw -p /mnt/gluster1/rhel75-64-virtio-scsi.qcow2 /mnt/gluster1/disk.raw (100.00/100%) mark as VERIFIED then. 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 |