aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-23 21:52:40 +0000
committerGerrit Code Review <review@openstack.org>2017-06-23 21:52:40 +0000
commit439505deea698647f4cbe62f3128291d8fb07218 (patch)
tree656ce9c3f912b7640499b7cd613aca2c023ab78b /puppet
parenta763d9993cb7957982fed37e8c6cd49406587071 (diff)
parentf0807b535b0cff5eac82fdaa9719650f79839c15 (diff)
Merge "Enable periodic task to discover cell hosts when ironic is used"
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/nova-scheduler.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/services/nova-scheduler.yaml b/puppet/services/nova-scheduler.yaml
index 5da6d43e..72a1fce7 100644
--- a/puppet/services/nova-scheduler.yaml
+++ b/puppet/services/nova-scheduler.yaml
@@ -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: