By default, overcommitment is enabled and set to 16.0 and 1.5 for CPU and RAM, respectively. In many situations, those values are too high or overcomittment needs to be disabled (by setting the options to 1.0) completely. Also, by default the CoreFilter is not enabled. Change-Id: I08b414a1fa6e596747be51608d8d0bbeb2a619fe
14 lines
505 B
Puppet
14 lines
505 B
Puppet
nova_config{
|
|
# OpenStack doesn't include the CoreFilter (= CPU Filter) by default
|
|
"DEFAULT/scheduler_default_filters":
|
|
value => "RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,CoreFilter";
|
|
"DEFAULT/cpu_allocation_ratio":
|
|
value => "%(CONFIG_NOVA_SCHED_CPU_ALLOC_RATIO)s";
|
|
"DEFAULT/ram_allocation_ratio":
|
|
value => "%(CONFIG_NOVA_SCHED_RAM_ALLOC_RATIO)s";
|
|
}
|
|
|
|
class {"nova::scheduler":
|
|
enabled => true,
|
|
}
|