[openstack-dev] [nova] [baremetal] using instance_type_extra_specs to pass hw-specific info to drivers
David Kang
dkang at isi.edu
Wed Nov 14 18:08:43 UTC 2012
+1
David
----- Original Message -----
> Hi all,
>
>
> Is there a policy regarding use of _extra_specs for supplying the virt
> layer with information that it requires to start an instance? I ask
> because right now, _extra_specs is not getting passed with the
> $instance object to driver.spawn(), but IMHO the baremetal driver
> should be utilizing this. If it's OK to do this, I will propose that
> patch.
>
>
>
>
> A little background -- baremetal deployment process is a two (or more)
> step process.
> 1. PXE boot the hw into a "deploy" kernel+ramdisk. This is used to
> write the user-specified image onto the local disks.
> 2. hw restarts, and PXE boots into the kernel+ramdisk which belong to
> the user-specified image.
>
>
> (*) there could be other steps chained into this, such as hw
> discovery, burn-in, etc, but that's ancillary to the question here.
>
>
> For baremetal, a flavor represents a specific set of hardware
> capabilities (how much physical ram, cpu, disk, etc). The deploy k+r
> used in step 1 is likely to be hardware specific, eg. dependent upon
> CPU arch, any specific network drivers that need to be loaded, and so
> on. Thus, it seems logical to specify it on the flavor extra_specs as
> opposed to the current approaches, both of which I see problems with:
> a) nova config option, b) image metadata.
>
>
>
> Regards,
> Devananda
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev
mailing list