Merge "Enable periodic task to discover cell hosts when ironic is used" into stable/ocata

This commit is contained in:
Jenkins 2017-06-27 15:07:32 +00:00 committed by Gerrit Code Review
commit 1284614b07
3 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -37,6 +37,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:
@ -61,6 +69,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:

View File

@ -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.