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.
Created attachment 1456396[details]
gdb_debug_info-07042018
Description of problem:
If use glusterfs as the storage backend, 'qemu-img commit' would 'Aborted (core dumped)'
# qemu-img commit -f qcow2 sn2
qemu-img: First cluster in emptied image is in use
Aborted (core dumped)
Version-Release number of selected component (if applicable):
Host kernel: 3.10.0-915.el7.x86_64
Qemu-kvm-rhev: qemu-kvm-rhev-2.12.0-6.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Mount gluestfs storage:
# mount -t glusterfs xx.xx.xx.xx:/gv1 /home
2. Create src image and its external snapshot on the glusterfs storage:
# cd /home
# qemu-img create -f qcow2 test 1G
# qemu-img create -f qcow2 test-sn -b test -F qcow2
3. Commit the snapshot to its base:
# qemu-img commit -f qcow2 test-sn
qemu-img: First cluster in emptied image is in use
Aborted (core dumped)
Actual results:
Aborted (core dumped) as above.
Expected results:
The snapshot could be committed to its base successfully.
Additional info:
This is with a Gluster FUSE mount, interesting.
I can reproduce this with glusterfs 3.8.4-53.el7, but not 4.0.2-1.fc28. Since this occurs with a fuse mount, it appears the difference is with gluster, and we are getting two different read results. When I debug via GDB, sometimes it works OK on 3.8.4-53, which makes me think there is a race condition present somewhere.
I'm re-assigning this over to glusterfs, for the reasons given in comment #5. Since this is reported over a fuse mount, and the bug is not present with later libgfapi versions, this is something that needs to be addressed at the gluster package level.
Comment 12RHEL Program Management
2021-02-15 07:40:05 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.
Created attachment 1456396 [details] gdb_debug_info-07042018 Description of problem: If use glusterfs as the storage backend, 'qemu-img commit' would 'Aborted (core dumped)' # qemu-img commit -f qcow2 sn2 qemu-img: First cluster in emptied image is in use Aborted (core dumped) Version-Release number of selected component (if applicable): Host kernel: 3.10.0-915.el7.x86_64 Qemu-kvm-rhev: qemu-kvm-rhev-2.12.0-6.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Mount gluestfs storage: # mount -t glusterfs xx.xx.xx.xx:/gv1 /home 2. Create src image and its external snapshot on the glusterfs storage: # cd /home # qemu-img create -f qcow2 test 1G # qemu-img create -f qcow2 test-sn -b test -F qcow2 3. Commit the snapshot to its base: # qemu-img commit -f qcow2 test-sn qemu-img: First cluster in emptied image is in use Aborted (core dumped) Actual results: Aborted (core dumped) as above. Expected results: The snapshot could be committed to its base successfully. Additional info: