Undercloud params for compute driver and manager

Add undercloud template parameters for NovaComputeDriver,
NovaComputeManager, and NovaSchedulerHostManager.

The motivation here is to be able to test configure Nova to use
the new (in-tree) Ironic compute driver (which used to live
in Ironic).

NOTE: The initial Nova in-tree Ironic driver won't have its
own ClusteredComputeManager (compute_manager). Even so I've
gone ahead and added a parameter for NovaComputeManager
so we can modify this accordingly in the future without
making hard coded template changes.

Change-Id: Ib48a6b6d8a6cff157bdf3948bd0330e9b29dd46a
This commit is contained in:
Dan Prince 2014-09-05 14:39:35 -05:00
parent a916a8b2f8
commit 656b8385ef
6 changed files with 45 additions and 4 deletions

View File

@ -5,7 +5,9 @@ resources:
config: config:
nova: nova:
compute_hostname: undercloud compute_hostname: undercloud
compute_driver: baremetal.driver.BareMetalDriver compute_driver: {get_param: NovaComputeDriver}
compute_manager: {get_param: NovaComputeManager}
scheduler_host_manager: {get_param: NovaSchedulerHostManager}
db: mysql://nova:unset@localhost/nova db: mysql://nova:unset@localhost/nova
default_ephemeral_format: ext4 default_ephemeral_format: ext4
host: 127.0.0.1 host: 127.0.0.1

View File

@ -3,6 +3,18 @@ parameters:
default: eth2 default: eth2
description: What interface to bridge onto br-ex for network nodes. description: What interface to bridge onto br-ex for network nodes.
type: string type: string
NovaComputeDriver:
default: baremetal.driver.BareMetalDriver
description: Full class name for the Nova compute driver
type: string
NovaComputeManager:
default: nova.compute.manager.ComputeManager
description: Full class name for the Nova compute manager
type: string
NovaSchedulerHostManager:
default: nova.scheduler.host_manager.HostManager
description: Full class name for the Nova scheduler host manager
type: string
PowerManager: PowerManager:
default: nova.virt.baremetal.ipmi.IPMI default: nova.virt.baremetal.ipmi.IPMI
description: Bare metal power manager driver. description: Bare metal power manager driver.

View File

@ -5,8 +5,9 @@ resources:
config: config:
nova: nova:
compute_hostname: undercloud compute_hostname: undercloud
compute_driver: ironic.nova.virt.ironic.driver.IronicDriver compute_driver: {get_param: NovaComputeDriver}
compute_manager: ironic.nova.compute.manager.ClusteredComputeManager compute_manager: {get_param: NovaComputeManager}
scheduler_host_manager: {get_param: NovaSchedulerHostManager}
db: mysql://nova:unset@localhost/nova db: mysql://nova:unset@localhost/nova
debug: {get_param: Debug} debug: {get_param: Debug}
default_ephemeral_format: ext4 default_ephemeral_format: ext4

View File

@ -7,6 +7,18 @@ parameters:
default: eth0 default: eth0
description: What interface to bridge onto br-ex for network nodes. description: What interface to bridge onto br-ex for network nodes.
type: string type: string
NovaComputeDriver:
default: ironic.nova.virt.ironic.driver.IronicDriver
description: Full class name for the Nova compute driver
type: string
NovaComputeManager:
default: ironic.nova.compute.manager.ClusteredComputeManager
description: Full class name for the Nova compute manager
type: string
NovaSchedulerHostManager:
default: ironic.nova.scheduler.ironic_host_manager.IronicHostManager
description: Full class name for the Nova scheduler host manager
type: string
PowerSSHPrivateKey: PowerSSHPrivateKey:
description: Private key for using to ssh to a virtual power host. description: Private key for using to ssh to a virtual power host.
type: string type: string

View File

@ -5,7 +5,9 @@ resources:
config: config:
nova: nova:
compute_hostname: undercloud compute_hostname: undercloud
compute_driver: baremetal.driver.BareMetalDriver compute_driver: {get_param: NovaComputeDriver}
compute_manager: {get_param: NovaComputeManager}
scheduler_host_manager: {get_param: NovaSchedulerHostManager}
db: mysql://nova:unset@localhost/nova db: mysql://nova:unset@localhost/nova
default_ephemeral_format: ext4 default_ephemeral_format: ext4
host: 127.0.0.1 host: 127.0.0.1

View File

@ -3,6 +3,18 @@ parameters:
default: eth0 default: eth0
description: What interface to bridge onto br-ex for network nodes. description: What interface to bridge onto br-ex for network nodes.
type: string type: string
NovaComputeDriver:
default: baremetal.driver.BareMetalDriver
description: Full class name for the Nova compute driver
type: string
NovaComputeManager:
default: nova.compute.manager.ComputeManager
description: Full class name for the Nova compute manager
type: string
NovaSchedulerHostManager:
default: nova.scheduler.host_manager.HostManager
description: Full class name for the Nova scheduler host manager
type: string
PowerManager: PowerManager:
default: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager default: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager
description: Bare metal power manager driver. description: Bare metal power manager driver.