qemu-img vmdk converted from iso not accepted by vSphere
Hi,
Apologies in advance if I shouldn't be asking here - I can't find a dedicated forum.
When I convert an ISO to a VMDk and try to deploy it as part of an OVF package in vSphere I get the following error:
I've tried:
qemu-img convert -O vmdk image.iso image.vmdk qemu-img convert -f raw image.iso -O vmdk image.vmdk
I'm using a very recent version of qemu-img. Anything obvious I am doing wrong?
Thanks,
||Rich
Quoted 6 lines · Rich Wellum
When I convert an ISO to a VMDk and try to deploy it as part of an OVF package in vSphere I get the following error:
I've tried:
qemu-img convert -O vmdk image.iso image.vmdk
qemu-img convert -f raw image.iso -O vmdk image.vmdk
I'm using a very recent version of qemu-img. Anything obvious I am doing wrong?
By very recent version do you mean qemu.git/master? Or 0.15.1?
Did previous versions of qemu-img convert the file correctly?
Stefan
Hi Stefan,
Quoted 1 line
qemu-img
qemu-img version 0.15.50, Copyright (c) 2004-2008 Fabrice Bellard
I haven't got this to work on any version - I was trying this version because of the expanded list of sub format versions - I thought one of them might be accepted.
Thanks,
||Rich
Quoted 13 lines · Stefan Hajnoczi
Quoted 6 lines · Rich Wellum
When I convert an ISO to a VMDk and try to deploy it as part of an OVF package in vSphere I get the following error:
I've tried:
qemu-img convert -O vmdk image.iso image.vmdk
qemu-img convert -f raw image.iso -O vmdk image.vmdk
I'm using a very recent version of qemu-img. Anything obvious I am doing wrong?By very recent version do you mean qemu.git/master? Or 0.15.1?
Did previous versions of qemu-img convert the file correctly?
Stefan
Quoted 6 lines · Rich Wellum
Hi Stefan,
Quoted 1 line
qemu-img
qemu-img version 0.15.50, Copyright (c) 2004-2008 Fabrice Bellard I haven't got this to work on any version - I was trying this version because of the expanded list of sub format versions - I thought one of them might be accepted.
That is a qemu.git/master tree and includes Fam's vmdk enhancements.
You could try the other subformats:
$ qemu-img convert -O vmdk -o subformat=monolithicFlat image.iso image.vmdk
or:
$ qemu-img convert -O vmdk -o subformat=twoGbMaxExtentSparse image.iso image.vmdk
Fam: Any suggestions? Do you know why vSphere is rejecting the default monolithicSparse image?
Stefan
Quoted 10 lines · Stefan Hajnoczi
Quoted 6 lines · Rich Wellum
Hi Stefan,
Quoted 1 line
qemu-img
qemu-img version 0.15.50, Copyright (c) 2004-2008 Fabrice Bellard I haven't got this to work on any version - I was trying this version because of the expanded list of sub format versions - I thought one of them might be accepted.
That is a qemu.git/master tree and includes Fam's vmdk enhancements.
Quoted 8 lines
You could try the other subformats:
$ qemu-img convert -O vmdk -o subformat=monolithicFlat image.iso image.vmdkor:
$ qemu-img convert -O vmdk -o subformat=twoGbMaxExtentSparse image.iso image.vmdk
Tried them both - no luck same issue seen.
Thanks,
||Rich
Quoted 5 lines
Fam: Any suggestions? Do you know why vSphere is rejecting the default monolithicSparse image?
Stefan
Quoted 15 lines · Rich Wellum
Quoted 12 lines · Stefan Hajnoczi
Quoted 6 lines · Rich Wellum
Hi Stefan,
Quoted 1 line
qemu-img
qemu-img version 0.15.50, Copyright (c) 2004-2008 Fabrice Bellard I haven't got this to work on any version - I was trying this version because of the expanded list of sub format versions - I thought one of them might be accepted.
That is a qemu.git/master tree and includes Fam's vmdk enhancements.
You could try the other subformats:
Quoted 8 lines
Quoted 6 lines
$ qemu-img convert -O vmdk -o subformat=monolithicFlat image.iso image.vmdkor:
$ qemu-img convert -O vmdk -o subformat=twoGbMaxExtentSparse image.iso image.vmdkTried them both - no luck same issue seen.
Which version of vSphere are you using?
Stefan
cheers,
||Rich
Quoted 28 lines · Stefan Hajnoczi
Quoted 15 lines · Rich Wellum
Quoted 12 lines · Stefan Hajnoczi
Quoted 6 lines · Rich Wellum
Hi Stefan,
Quoted 1 line
qemu-img
qemu-img version 0.15.50, Copyright (c) 2004-2008 Fabrice Bellard I haven't got this to work on any version - I was trying this version because of the expanded list of sub format versions - I thought one of them might be accepted.
That is a qemu.git/master tree and includes Fam's vmdk enhancements.
You could try the other subformats:
Quoted 8 lines
Quoted 6 lines
$ qemu-img convert -O vmdk -o subformat=monolithicFlat image.iso image.vmdkor:
$ qemu-img convert -O vmdk -o subformat=twoGbMaxExtentSparse image.iso image.vmdkTried them both - no luck same issue seen.
Which version of vSphere are you using?
Stefan
Rich: Thanks for the ESXi 4.1.0 and vSphere Client 4.1.0 version info.
Fam: Do you have any suggestions how to debug the "Error uploading file path/to/image.vmdk to server. Not a supported disk format (sparse VMDK version too old)" issue? Ideally qemu-img would create images that work with current VMware tools by default.
Stefan
I see one other report of the same thing on the vmware forums:
http://communities.vmware.com/message/1839303
Thanks,
||Rich
Quoted 8 lines · Stefan Hajnoczi
Rich: Thanks for the ESXi 4.1.0 and vSphere Client 4.1.0 version info.
Fam: Do you have any suggestions how to debug the "Error uploading file path/to/image.vmdk to server. Not a supported disk format (sparse VMDK version too old)" issue? Ideally qemu-img would create images that work with current VMware tools by default.
Stefan