[Openstack] More than one compute_driver in nova.conf

Jake G. Dj_dark_junglist at yahoo.com
Tue Aug 13 04:25:04 UTC 2013



On 2013/08/13, at 12:50, Robert Collins <robertc at robertcollins.net> wrote:

> On 13 August 2013 15:15, Jake G. <dj_dark_junglist at yahoo.com> wrote:
>> 
>> I was wondering how to handle changing the compute_driver in nova.conf? I
>> currently have the default
>> 
>> compute_driver = libvirt.LibvirtDriver
>> libvirt_type=kvm
>> 
>> I want to be able to add the driver for baremetal provisioning, but I am
>> unclear on how to do this.
>> Can there be more than one compute_driver or do I have to replace
>> compute_driver = libvirt.LibvirtDriver with the new driver.
> 
> You need to have a dedicated nova cell/region/cloud for baremetal. We
> change the scheduler at a fairly fundamental layer - Devananda has
> plans to rectify this, but probably only after Ironic is stable.
> 
>> If I can only replace what will happen to my existing KVM and nova
>> operations?
> 
> I suggest spinning up a new host rather than modifying your existing one.
> 
>> Also, I am just using the bearmetal driver as an example. This same question
>> can be applied to any other feature that requires a different
>> compute_driver.
> 
> Baremetal is special - unlike lxc/kvm/qemu baremetal doesn't subdivide
> an existing hypervisors resources, rather it hands out entire machines
> - so it has to match exactly rather than matching a subset when
> comparing flavors.
> 
> Cheers,
> Rob
> 
> -- 
> Robert Collins <rbtcollins at hp.com>
> Distinguished Technologist
> HP Converged Cloud

Thanks for the heads up. I can image the damage I would have done to my test environment trying to get this going. 

Just to confirm, there is no way to add another compute node that is for baremetal only into an existing openstack environment? 



More information about the Openstack mailing list