diff --git a/templates/pike/nova.conf b/templates/pike/nova.conf index 99f527ab..a271806c 100644 --- a/templates/pike/nova.conf +++ b/templates/pike/nova.conf @@ -184,6 +184,13 @@ enabled_filters = {{ scheduler_default_filters }},{{ additional_neutron_filters enabled_filters = {{ scheduler_default_filters }} {% endif %} +# Disable BuildFailureWeigher as any failed build will result +# in a very low weighting for the hypervisor, resulting in +# instances all being scheduled to hypervisors with no build +# failures. +# https://bugs.launchpad.net/charm-nova-cloud-controller/+bug/1818239 +build_failure_weight_multiplier = 0.0 + [api] auth_strategy=keystone {% if vendor_data or vendor_data_url -%} diff --git a/templates/rocky/nova.conf b/templates/rocky/nova.conf index 20702c86..ce13b86b 100644 --- a/templates/rocky/nova.conf +++ b/templates/rocky/nova.conf @@ -190,6 +190,13 @@ enabled_filters = {{ scheduler_default_filters }},{{ additional_neutron_filters enabled_filters = {{ scheduler_default_filters }} {% endif %} +# Disable BuildFailureWeigher as any failed build will result +# in a very low weighting for the hypervisor, resulting in +# instances all being scheduled to hypervisors with no build +# failures. +# https://bugs.launchpad.net/charm-nova-cloud-controller/+bug/1818239 +build_failure_weight_multiplier = 0.0 + [api] auth_strategy=keystone {% if vendor_data or vendor_data_url -%}