Skip to contentSkip to conversation

qemu-img vmdk converted from iso not accepted by vSphere

Qemu-devel Rich Wellum 2 participants 9 messages Oct 20, 2011 – Oct 28, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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

#2 lore raw

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

#3 lore raw
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

#4 lore raw
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.vmdk

or:

$ 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

#5 lore raw
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.vmdk

or:

$ qemu-img convert -O vmdk -o subformat=twoGbMaxExtentSparse image.iso
image.vmdk

Tried them both - no luck same issue seen.

Which version of vSphere are you using?

Stefan

#6 lore raw

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.vmdk

or:

$ qemu-img convert -O vmdk -o subformat=twoGbMaxExtentSparse image.iso
image.vmdk

Tried them both - no luck same issue seen.

Which version of vSphere are you using?

Stefan

#7 lore raw

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

#8 lore raw

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