diff --git a/defaults/main.yml b/defaults/main.yml index f7596a30..ef71393a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -317,7 +317,6 @@ nova_cpu_allocation_ratio: 2.0 nova_disk_allocation_ratio: 1.0 nova_max_io_ops_per_host: 10 nova_ram_allocation_ratio: 1.0 -nova_ram_weight_multiplier: 5.0 nova_reserved_host_disk_mb: 2048 nova_scheduler_host_subset_size: "{{ ((((groups['compute_hosts'] | default([]) | length) * 0.3) | round | int, 10) | min, 1) | max }}" diff --git a/releasenotes/notes/nova_ram_weight_multiplier_deprecation-1b152707b4737b3c.yaml b/releasenotes/notes/nova_ram_weight_multiplier_deprecation-1b152707b4737b3c.yaml new file mode 100644 index 00000000..7326fddd --- /dev/null +++ b/releasenotes/notes/nova_ram_weight_multiplier_deprecation-1b152707b4737b3c.yaml @@ -0,0 +1,8 @@ +--- +deprecations: + - | + ``nova_ram_weight_multiplier`` was deprecated. Multipliers should be + defined using ``nova_nova_conf_overrides``. + Please note that default value for ``nova_ram_weight_multiplier`` was + previously set to 5, while nova default is 1. This deprecation will + slightly change weighing behavior in OSA. diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index b37b982d..b38a113a 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -325,7 +325,6 @@ discover_hosts_in_cells_interval = {{ nova_discover_hosts_in_cells_interval }} [filter_scheduler] max_io_ops_per_host = {{ nova_max_io_ops_per_host }} -ram_weight_multiplier = {{ nova_ram_weight_multiplier }} enabled_filters = {{ _nova_scheduler_filters | join(',') }} host_subset_size = {{ nova_scheduler_host_subset_size }} track_instance_changes = {{ nova_scheduler_tracks_instance_changes }}