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.
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:
(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.
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.
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