Bug 679336 - [vdsm][qemu-img]createVolume fails due to usage of preallocation=metadata in qemu-img command
Summary: [vdsm][qemu-img]createVolume fails due to usage of preallocation=metadata in ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Dan Kenigsberg
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-22 10:10 UTC by Moran Goldboim
Modified: 2016-04-18 06:38 UTC (History)
9 users (show)

Fixed In Version: vdsm-4.9-50.el6.x86_64
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-19 15:27:10 UTC
Target Upstream Version:


Attachments (Terms of Use)
vdsm log (203.68 KB, application/x-tar)
2011-02-22 10:10 UTC, Moran Goldboim
no flags Details

Description Moran Goldboim 2011-02-22 10:10:06 UTC
Created attachment 480090 [details]
vdsm log

Description of problem:
when trying to create an image (thin provision) using vsdm it fails: 
7cd86f12-0aa1-43e7-b5f6-7bc3b06d776c::DEBUG::2011-02-21 15:49:34,334::volume::863::Storage.Misc.excCmd::(createVolume) '/usr/bin/qemu-img create -f qcow2 -o preallocation=metadata -F raw
 -b ../262215c5-9973-4d9a-b440-67039ad1761c/1945c6e9-ddd3-4506-896e-2a06ce7e0666 /rhev/data-center/07bf7773-b187-4540-bbef-1f3f33d5ceea/dd54489a-aed5-4a90-bd0e-bb07b015bcea/images/262215
c5-9973-4d9a-b440-67039ad1761c/4a720b48-6d5c-4409-8196-70d1691a5fdc' (cwd /rhev/data-center/07bf7773-b187-4540-bbef-1f3f33d5ceea/dd54489a-aed5-4a90-bd0e-bb07b015bcea/images/262215c5-9973
-4d9a-b440-67039ad1761c)
7cd86f12-0aa1-43e7-b5f6-7bc3b06d776c::DEBUG::2011-02-21 15:49:34,341::volume::863::Storage.Misc.excCmd::(createVolume) FAILED: <err> = 'Backing file and preallocation cannot be used at the same time\n/rhev/data-center/07bf7773-b187-4540-bbef-1f3f33d5ceea/dd54489a-aed5-4a90-bd0e-bb07b015bcea/images/262215c5-9973-4d9a-b440-67039ad1761c/4a720b48-6d5c-4409-8196-70d1691a5fdc: error while creating qcow2: Invalid argument\n'; <rc> = 1

Version-Release number of selected component (if applicable):
vdsm-4.9-49.el6.x86_64
libvirt-0.8.7-7.el6.x86_64
device-mapper-multipath-0.4.9-37.el6.x86_64
qemu-kvm-0.12.1.2-2.144.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.create a thin provision vm from template
2.
3.
  
Actual results:
vm isn't created 

Expected results:


Additional info:

Comment 3 Than Ngo 2011-02-22 14:07:18 UTC
urw-fonts is not the correct component, this issue looks like a bug in libvirt.

Comment 4 Jakub Libosvar 2011-02-25 13:29:52 UTC
Works with qemu-kvm-0.12.1.2-2.146.el6.x86_64 - vdsm version is the same as Moran had.


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