qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
@ 2011-10-20 15:48 Rich Wellum
  2011-10-20 17:50 ` Stefan Hajnoczi
  0 siblings, 1 reply; 9+ messages in thread
From: Rich Wellum @ 2011-10-20 15:48 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

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

[-- Attachment #2.1: Type: text/html, Size: 935 bytes --]

[-- Attachment #2.2: Screen Shot 2011-10-20 at 11.41.49 AM.png --]
[-- Type: image/png, Size: 10091 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
  2011-10-20 15:48 [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere Rich Wellum
@ 2011-10-20 17:50 ` Stefan Hajnoczi
  2011-10-20 17:54   ` Rich Wellum
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Hajnoczi @ 2011-10-20 17:50 UTC (permalink / raw)
  To: Rich Wellum; +Cc: Feiran Zheng, qemu-devel

On Thu, Oct 20, 2011 at 8:48 AM, Rich Wellum <richwellum@gmail.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
  2011-10-20 17:50 ` Stefan Hajnoczi
@ 2011-10-20 17:54   ` Rich Wellum
  2011-10-20 18:17     ` Stefan Hajnoczi
  0 siblings, 1 reply; 9+ messages in thread
From: Rich Wellum @ 2011-10-20 17:54 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: Feiran Zheng, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

Hi Stefan,

> 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

On Oct 20, 2011, at 1:50 PM, Stefan Hajnoczi wrote:

> On Thu, Oct 20, 2011 at 8:48 AM, Rich Wellum <richwellum@gmail.com> wrote:
>> 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


[-- Attachment #2: Type: text/html, Size: 1546 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
  2011-10-20 17:54   ` Rich Wellum
@ 2011-10-20 18:17     ` Stefan Hajnoczi
  2011-10-20 20:35       ` Rich Wellum
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Hajnoczi @ 2011-10-20 18:17 UTC (permalink / raw)
  To: Rich Wellum; +Cc: Feiran Zheng, qemu-devel

On Thu, Oct 20, 2011 at 10:54 AM, Rich Wellum <richwellum@gmail.com> wrote:
> Hi Stefan,
>> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
  2011-10-20 18:17     ` Stefan Hajnoczi
@ 2011-10-20 20:35       ` Rich Wellum
  2011-10-26  7:43         ` Stefan Hajnoczi
  0 siblings, 1 reply; 9+ messages in thread
From: Rich Wellum @ 2011-10-20 20:35 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: Feiran Zheng, qemu-devel


On Oct 20, 2011, at 2:17 PM, Stefan Hajnoczi wrote:

> On Thu, Oct 20, 2011 at 10:54 AM, Rich Wellum <richwellum@gmail.com> wrote:
>> Hi Stefan,
>>> 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

Tried them both - no luck same issue seen.

Thanks,

||Rich

> 
> Fam: Any suggestions?  Do you know why vSphere is rejecting the
> default monolithicSparse image?
> 
> Stefan

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
  2011-10-20 20:35       ` Rich Wellum
@ 2011-10-26  7:43         ` Stefan Hajnoczi
  2011-10-26 11:25           ` Richard Wellum
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Hajnoczi @ 2011-10-26  7:43 UTC (permalink / raw)
  To: Rich Wellum; +Cc: Feiran Zheng, qemu-devel

On Thu, Oct 20, 2011 at 9:35 PM, Rich Wellum <richwellum@gmail.com> wrote:
>
> On Oct 20, 2011, at 2:17 PM, Stefan Hajnoczi wrote:
>
>> On Thu, Oct 20, 2011 at 10:54 AM, Rich Wellum <richwellum@gmail.com> wrote:
>>> Hi Stefan,
>>>> 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
>
> Tried them both - no luck same issue seen.

Which version of vSphere are you using?

Stefan

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
  2011-10-26  7:43         ` Stefan Hajnoczi
@ 2011-10-26 11:25           ` Richard Wellum
  2011-10-28  9:17             ` Stefan Hajnoczi
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Wellum @ 2011-10-26 11:25 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: Feiran Zheng, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]



cheers,

||Rich

On Oct 26, 2011, at 3:43 AM, Stefan Hajnoczi wrote:

> On Thu, Oct 20, 2011 at 9:35 PM, Rich Wellum <richwellum@gmail.com> wrote:
>> 
>> On Oct 20, 2011, at 2:17 PM, Stefan Hajnoczi wrote:
>> 
>>> On Thu, Oct 20, 2011 at 10:54 AM, Rich Wellum <richwellum@gmail.com> wrote:
>>>> Hi Stefan,
>>>>> 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
>> 
>> Tried them both - no luck same issue seen.
> 
> Which version of vSphere are you using?
> 
> Stefan


[-- Attachment #2.1: Type: text/html, Size: 3326 bytes --]

[-- Attachment #2.2: Screen Shot 2011-10-26 at 7.23.22 AM.png --]
[-- Type: image/png, Size: 6416 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
  2011-10-26 11:25           ` Richard Wellum
@ 2011-10-28  9:17             ` Stefan Hajnoczi
  2011-10-28 10:46               ` Richard Wellum
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Hajnoczi @ 2011-10-28  9:17 UTC (permalink / raw)
  To: Feiran Zheng; +Cc: Richard Wellum, qemu-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere
  2011-10-28  9:17             ` Stefan Hajnoczi
@ 2011-10-28 10:46               ` Richard Wellum
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Wellum @ 2011-10-28 10:46 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: Feiran Zheng, qemu-devel

I see one other report of the same thing on the vmware forums:

http://communities.vmware.com/message/1839303

Thanks,

||Rich

On Oct 28, 2011, at 5:17 AM, Stefan Hajnoczi wrote:

> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-10-28 10:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20 15:48 [Qemu-devel] qemu-img vmdk converted from iso not accepted by vSphere Rich Wellum
2011-10-20 17:50 ` Stefan Hajnoczi
2011-10-20 17:54   ` Rich Wellum
2011-10-20 18:17     ` Stefan Hajnoczi
2011-10-20 20:35       ` Rich Wellum
2011-10-26  7:43         ` Stefan Hajnoczi
2011-10-26 11:25           ` Richard Wellum
2011-10-28  9:17             ` Stefan Hajnoczi
2011-10-28 10:46               ` Richard Wellum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).