[Openstack] [openstack-dev] question regarding vmdk file format for baremetal provisioning

Robert Collins robertc at robertcollins.net
Tue Oct 22 05:33:58 UTC 2013


(Dropping -dev, as thisn't a development discussion).

If the image is of a single partition - just one file system - then it
should work, as long as the format is supported by qemu-img.

Some vendors have their kernel and ramdisk not include all drivers
though, which means your 'off the shelf' kernel+ramdisk may not have
the needed hardware support for your hardware.

-Rob

On 22 October 2013 17:14, Ravikanth Samprathi <rsamprat at gmail.com> wrote:
> The vmdk i have is from a VM that has not been partitioned, does it mean, it
> will not work?
> Meaning, i cannot use an off the shelf kernel, ramdisk and use the
> qcow2-converted-image-from-vmdk?
> Thanks
> Ravi
>
>
>
> On Mon, Oct 21, 2013 at 8:18 PM, Robert Collins <robertc at robertcollins.net>
> wrote:
>>
>> You'll need a format qemu-img supports; diskimage-builder outputs
>> qcow2 by default, for instance.
>>
>> Also note it must be a partition image, not a full disk image.
>>
>> Cheers,
>> Rob
>>
>> On 22 October 2013 16:15, Ravikanth Samprathi <rsamprat at gmail.com> wrote:
>> > Hi
>> > Am using a vmdk file for provisioning baremetal. But the nova failed
>> > with
>> > nova-compute log having the following message:
>> > ERROR nova.compute.manager ..... Unexpected error while running command
>> > qemu-img convert ....error while reading sector 131072 .... Invalid
>> > argument.
>> >
>> > Can someone provide some help/pointers.
>> > Thanks
>> > Ravi
>> >
>> >
>> > _______________________________________________
>> > OpenStack-dev mailing list
>> > OpenStack-dev at lists.openstack.org
>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> >
>>
>>
>>
>> --
>> Robert Collins <rbtcollins at hp.com>
>> Distinguished Technologist
>> HP Converged Cloud
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud




More information about the Openstack mailing list