[Thincrust-devel] Errors w/ qcow output from appliance-tools
Bryan Kearney
bkearney at redhat.com
Wed Oct 1 12:10:10 UTC 2008
Perry N. Myers wrote:
> Perry N. Myers wrote:
>> David,
>>
>> Here's some info on the problem that I've been having.
>>
>> I used the attached kickstart (foo.ks) and ran:
>> appliance-creator --config foo.ks --name foo -f qcow -d -v
>>
>> The output includes the following:
>>> writing image XML to /var/tmp/imgcreate-223Oxs/tmp-N65fLE/foo.xml
>>> converting /var/tmp/imgcreate-223Oxs/tmp-N65fLE/foo-sda.raw image to
>>> /var/tmp/imgcreate-223Oxs/tmp-N65fLE/foo-sda.qcow
>>> qemu-img: Could not open
>>> '/var/tmp/imgcreate-223Oxs/tmp-N65fLE/foo-sda.qcow'
>>> Unable to convert disk format to qcow, using raw disk image
>>> moving disks to final location
>>> moving /var/tmp/imgcreate-223Oxs/tmp-N65fLE/foo.xml to
>>> /var/tmp/imgcreate-223Oxs/out
>>> moving /var/tmp/imgcreate-223Oxs/tmp-N65fLE/foo-sda.raw to
>>> /var/tmp/imgcreate-223Oxs/out
>>> moving /var/tmp/imgcreate-223Oxs/tmp-N65fLE/foo-sda.qcow to
>>> /var/tmp/imgcreate-223Oxs/out
>>> done
>>
>> Full output is on:
>> http://ovirt.pastebin.com/d1d01f7cb
>>
>> foo.ks is very basic. Just the min stuff needed to create an
>> appliance really using base-pkgs.
>>
>> These are the versions I am using:
>> appliance-tools-002-3.fc9.noarch
>> appliance-os-001-3.fc9.noarch
>>
>> I've tried this on multiple Fedora 9 hosts and had the same results.
>>
>> Let me know if your investigation using this kickstart/commandline
>> reveals anything.
>
> Follow up. This is very odd...
>
> The kickstart has this in it:
> part / --ondisk=sda --fstype=ext3 --size=2000
>
> If I toggle to size 10000 it works fine
>
> 2000, 5000, 9000, 11000, 16000, 20000 failed
> 10000 succeeds
>
> Why would this work with a size of 10000 but nothing else???
This may be an x86_64 thing. I did the following:
- downloaded your foo.ks
- installed the latest appliance-os rpm from ovirt.org
- edited the kicstart file with :%s/x84_64/i386/g
- ran appliance-creator --config foo.ks --name foo -f qcow2 -d -v
So the only differences are
1) arhictecture
2) qcow versus qcow2
I got an error with qcow on my machine, so I either have an older
appliance-tools or that was a typo inthe original message.
-- bk
More information about the Thincrust-devel
mailing list