Browse Source

Merge "Add some tunable parameters for nova-scheduler"

changes/65/787765/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
be6a97dff6
2 changed files with 20 additions and 0 deletions
  1. +12
    -0
      deployment/nova/nova-scheduler-container-puppet.yaml
  2. +8
    -0
      releasenotes/notes/nova-scheduler-tunables-8c1dbab10b289480.yaml

+ 12
- 0
deployment/nova/nova-scheduler-container-puppet.yaml View File

@ -118,6 +118,16 @@ parameters:
aggregates to be reported in placement, so only hosts within the asked
aggregates would be accepted.
type: boolean
NovaSchedulerHostSubsetSize:
default: 1
description: >
Size of subset of best hosts selected by scheduler.
type: number
NovaSchedulerShuffleBestSameWeighedHosts:
default: false
description: >
Enable spreading the instances between hosts with the same best weight.
type: boolean
# DEPRECATED: the following options are deprecated and are currently maintained
# for backwards compatibility. They will be removed in future release.
NovaSchedulerDefaultFilters:
@ -206,6 +216,8 @@ outputs:
- {get_param: NovaSchedulerDefaultFilters}
- {get_param: NovaSchedulerEnabledFilters}
nova::scheduler::filter::scheduler_max_attempts: {get_param: NovaSchedulerMaxAttempts}
nova::scheduler::filter::scheduler_host_subset_size: {get_param: NovaSchedulerHostSubsetSize}
nova::scheduler::filter::shuffle_best_same_weighed_hosts: {get_param: NovaSchedulerShuffleBestSameWeighedHosts}
nova::scheduler::discover_hosts_in_cells_interval: {get_param: NovaSchedulerDiscoverHostsInCellsInterval}
nova::scheduler::query_placement_for_image_type_support: {get_param: NovaSchedulerQueryImageType}
nova::scheduler::limit_tenants_to_placement_aggregate: {get_param: NovaSchedulerLimitTenantsToPlacementAggregate}


+ 8
- 0
releasenotes/notes/nova-scheduler-tunables-8c1dbab10b289480.yaml View File

@ -0,0 +1,8 @@
---
features:
- |
Add the following parameters to tune the behavior of nova-scheduler to
achieve better distribution of instances.
- ``NovaSchedulerHostSubsetSize``
- ``NovaSchedulerShuffleBestSameWeighedHosts``

Loading…
Cancel
Save