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 1088150 - qemu-img coredumpd when try to create a gluster format image
Summary: qemu-img coredumpd when try to create a gluster format image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Jeff Cody
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-16 07:03 UTC by Qian Guo
Modified: 2015-03-05 08:06 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-1.5.3-70.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1088610 (view as bug list)
Environment:
Last Closed: 2015-03-05 08:06:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0349 0 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2015-03-05 12:27:34 UTC

Description Qian Guo 2014-04-16 07:03:34 UTC
Description of problem:
Try to create a gluster format image, qemu-img coredumpd, if do not support, should prompts:

qemu-img: test: Driver 'gluster' does not support image creation

Version-Release number of selected component (if applicable):
qemu-kvm-1.5.3-60.el7.x86_64
qemu-img-1.5.3-60.el7.x86_64
How reproducible:
100%

Steps to Reproduce:
1.Try to create a gluster format image:
# qemu-img create -f gluster test 1G

2.
3.

Actual results:
Formatting 'test', fmt=gluster size=1073741824 
Segmentation fault (core dumped)

Program received signal SIGSEGV, Segmentation fault.
0x000055555557dddf in qemu_gluster_init ()
(gdb) bt
#0  0x000055555557dddf in qemu_gluster_init ()
#1  0x000055555557e096 in qemu_gluster_create ()
#2  0x00005555555734c9 in bdrv_create_co_entry ()
#3  0x00005555555a912a in coroutine_trampoline ()
#4  0x00007ffff608d570 in ?? () from /lib64/libc.so.6
#5  0x00007fffffffda40 in ?? ()
#6  0x0000000000000000 in ?? ()
(gdb) bt ful
#0  0x000055555557dddf in qemu_gluster_init ()
No symbol table info available.
#1  0x000055555557e096 in qemu_gluster_create ()
No symbol table info available.
#2  0x00005555555734c9 in bdrv_create_co_entry ()
No symbol table info available.
#3  0x00005555555a912a in coroutine_trampoline ()
No symbol table info available.
#4  0x00007ffff608d570 in ?? () from /lib64/libc.so.6
No symbol table info available.
#5  0x00007fffffffda40 in ?? ()
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) 

Expected results:
If support creation, should not coredumpd, if not support, should print proper prompts

Additional info:

Comment 1 Qian Guo 2014-04-16 07:07:05 UTC
Not a regression, test with qemu-kvm-1.5.3-50.el7.x86_64 , won't hit such issue.

Comment 2 Qian Guo 2014-04-16 07:08:02 UTC
(In reply to Qian Guo from comment #1)
> Not a regression, test with qemu-kvm-1.5.3-50.el7.x86_64 , won't hit such
> issue.

sorry, wrong type here
should be
Test with qemu-kvm-1.5.3-50.el7.x86_64, hit same issue.

Comment 4 Jeff Cody 2014-04-16 21:06:06 UTC
This is fixed in upstream commit 24897a767bd778fc6a050537d024565f9272cd06: 'gluster: default scheme to gluster:// and host to localhost.'

Comment 10 Miroslav Rezanina 2014-09-12 12:55:32 UTC
Fix included in qemu-kvm-1.5.3-70.el7

Comment 11 Jun Li 2014-10-13 08:47:38 UTC
Reproduce this bz:

Version of components:
qemu-kvm-1.5.3-68.el7.x86_64

Steps as comment 0,
1.Try to create a gluster format image:
# qemu-img create -f gluster test 1G

2.
3.

Actual results:
Formatting 'test', fmt=gluster size=1073741824 
Segmentation fault (core dumped)

(gdb) bt
#0  0x000055555557e08f in qemu_gluster_init ()
#1  0x000055555557e346 in qemu_gluster_create ()
#2  0x00005555555736b9 in bdrv_create_co_entry ()
#3  0x00005555555a94ba in coroutine_trampoline ()
#4  0x00007ffff60821d0 in ?? () from /lib64/libc.so.6
#5  0x00007fffffffd9c0 in ?? ()
#6  0x0000000000000000 in ?? ()

As above show, this bz has been reproduced.
=============================
Verify:

Version of components:
qemu-kvm-1.5.3-75.el7.x86_64

Steps as comment 0,
1.Try to create a gluster format image:
# qemu-img create -f gluster test 1G

2.
3.

Actual results:
Formatting 'test', fmt=gluster size=1073741824 
qemu-img: Usage: file=gluster[+transport]://[server[:port]]/volname/image[?socket=...]
qemu-img: test: Could not create image: Invalid argument
-----------------
Version of components:
qemu-kvm-rhev-2.1.2-3.el7.x86_64

Steps as comment 0,
1.Try to create a gluster format image:
# qemu-img create -f gluster test 1G

2.
3.

Actual results:
Formatting 'test', fmt=gluster size=1073741824 
qemu-img: test: Usage: file=gluster[+transport]://[server[:port]]/volname/image[?socket=...]

Based on above testing, this bz has been verified.

Comment 15 errata-xmlrpc 2015-03-05 08:06:21 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://rhn.redhat.com/errata/RHSA-2015-0349.html


Note You need to log in before you can comment on or make changes to this bug.