Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1566369

Summary: qemu-img commit fails with "block/file-posix.c:1774: find_allocation: Assertion `offs >= start' failed" [rhel-7.5.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: qemu-kvm-rhevAssignee: Jeff Cody <jcody>
Status: CLOSED ERRATA QA Contact: Longxiang Lyu <lolyu>
Severity: high Docs Contact:
Priority: high    
Version: 7.4CC: amureini, bcholler, chayang, coli, cww, jcody, jcoscia, juzhang, knoel, lmiksik, lolyu, michen, mjenner, mkalinin, mrezanin, mtessun, ngu, pingl, rhodain, virt-maint, ylavi
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-rhev-2.10.0-21.el7_5.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1536636 Environment:
Last Closed: 2018-05-10 16:04:49 UTC Type: ---
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: 1536636    
Bug Blocks:    

Description Oneata Mircea Teodor 2018-04-12 07:49:30 UTC
This bug has been copied from bug #1536636 and has been proposed to be backported to 7.5 z-stream (EUS).

Comment 2 Miroslav Rezanina 2018-04-13 11:17:37 UTC
Fix included in qemu-kvm-rhev-2.10.0-21.el7_5.2

Comment 4 Longxiang Lyu 2018-04-17 07:11:25 UTC
The bug-triggering method is based on BZ 1451191.

1. reproduction
selected components:
glusterfs-server-3.8.4-18.6.el7rhgs
qemu-kvm-rhev-2.9.0-16.el7_4.5

client locates on the same machine as GlusterFS server.

a. server info
# gluster volume info
 
Volume Name: gv0
Type: Distribute
Volume ID: 2f288a4b-6b96-41ad-98a0-49610427c0dc
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: 10.66.60.166:/home/brick
Options Reconfigured:
transport.address-family: inet
performance.readdir-ahead: on
nfs.disable: on

b. mount the volume
# mount.glusterfs 127.0.0.1:gv0 /mnt/gluster1/

c. prepare a guest VM and convert it to raw
# qemu-img convert -f qcow2 /mnt/gluster1/rhel75-64-virtio-scsi.qcow2 -O raw disk.raw -p
qemu-img: block/file-posix.c:1774: find_allocation: Assertion `offs >= start' failed.
Aborted (core dumped)

2. testing of fix
# qemu-img --version
qemu-img version 2.10.0(qemu-kvm-rhev-2.10.0-21.el7_5.2)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

# qemu-img convert -f qcow2 /mnt/gluster1/rhel75-64-virtio-scsi.qcow2 -O raw disk.raw -p
    (100.00/100%)

mark as verified then.

Comment 7 errata-xmlrpc 2018-05-10 16:04:49 UTC
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/RHSA-2018:1369