[openstack-dev] [nova] [baremetal] using instance_type_extra_specs to pass hw-specific info to drivers
Devananda van der Veen
devananda.vdv at gmail.com
Wed Nov 14 22:53:27 UTC 2012
As I got a nod from Vish on IRC about this feature, I've proposed a change
to implement it, along with a new test. I'll update the corresponding
baremetal patch once this merges.
https://review.openstack.org/#/c/16122/
-Deva
On Wed, Nov 14, 2012 at 10:08 AM, David Kang <dkang at isi.edu> wrote:
>
> +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
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121114/7f41a878/attachment.html>
More information about the OpenStack-dev
mailing list