Red Hat Bugzilla – Bug 1088150
qemu-img coredumpd when try to create a gluster format image
Last modified: 2015-03-05 03:06:21 EST
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:
Not a regression, test with qemu-kvm-1.5.3-50.el7.x86_64 , won't hit such issue.
(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.
This is fixed in upstream commit 24897a767bd778fc6a050537d024565f9272cd06: 'gluster: default scheme to gluster:// and host to localhost.'
Fix included in qemu-kvm-1.5.3-70.el7
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