Merge "Enable periodic task to discover cell hosts when ironic is used"
This commit is contained in:
commit
439505deea
@ -2,3 +2,5 @@ resource_registry:
|
||||
OS::TripleO::Services::IronicApi: ../../puppet/services/ironic-api.yaml
|
||||
OS::TripleO::Services::IronicConductor: ../../puppet/services/ironic-conductor.yaml
|
||||
OS::TripleO::Services::NovaIronic: ../../puppet/services/nova-ironic.yaml
|
||||
parameter_defaults:
|
||||
NovaSchedulerDiscoverHostsInCellsInterval: 15
|
||||
|
@ -45,6 +45,14 @@ parameters:
|
||||
default:
|
||||
tag: openstack.nova.scheduler
|
||||
path: /var/log/nova/nova-scheduler.log
|
||||
NovaSchedulerDiscoverHostsInCellsInterval:
|
||||
type: number
|
||||
default: -1
|
||||
description: >
|
||||
This value controls how often (in seconds) the scheduler should
|
||||
attempt to discover new hosts that have been added to cells.
|
||||
The default value of -1 disables the periodic task completely.
|
||||
It is recommended to set this parameter for deployments using Ironic.
|
||||
|
||||
resources:
|
||||
NovaBase:
|
||||
@ -71,6 +79,7 @@ outputs:
|
||||
- nova::ram_allocation_ratio: '1.0'
|
||||
nova::scheduler::filter::scheduler_available_filters: {get_param: NovaSchedulerAvailableFilters}
|
||||
nova::scheduler::filter::scheduler_default_filters: {get_param: NovaSchedulerDefaultFilters}
|
||||
nova::scheduler::discover_hosts_in_cells_interval: {get_param: NovaSchedulerDiscoverHostsInCellsInterval}
|
||||
step_config: |
|
||||
include tripleo::profile::base::nova::scheduler
|
||||
upgrade_tasks:
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
When ``environments/services/ironic.yaml`` is used, enable periodic task
|
||||
in nova-scheduler to automatically discover new nodes. Otherwise a user
|
||||
has to run nova management command on controllers each time.
|
Loading…
x
Reference in New Issue
Block a user