diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 1909e57a6f..c9d4c7b8b2 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -622,7 +622,7 @@ enable_freezer: "no" enable_gnocchi: "no" enable_gnocchi_statsd: "no" enable_grafana: "{{ enable_monasca | bool }}" -enable_hacluster: "no" +enable_hacluster: "{{ enable_masakari_hostmonitor | bool }}" enable_heat: "{{ enable_openstack_core | bool }}" enable_horizon: "{{ enable_openstack_core | bool }}" enable_horizon_blazar: "{{ enable_blazar | bool }}" diff --git a/releasenotes/notes/change-value-of-enable-hacluster-4653fd447456f683.yaml b/releasenotes/notes/change-value-of-enable-hacluster-4653fd447456f683.yaml new file mode 100644 index 0000000000..7bf10133a5 --- /dev/null +++ b/releasenotes/notes/change-value-of-enable-hacluster-4653fd447456f683.yaml @@ -0,0 +1,11 @@ +--- +fixes: + - | + Fixes an issue when ``masakari-hostmonitor`` is enabled + while corosync/pacemaker is not deployed. + `LP#1934149 `__ +upgrade: + - | + Modifies the default value of ``enable_hacluster`` from ``no`` to + ``yes`` if ``masakari-hostmonitor`` is enabled. + `LP#1934149 `__ diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index a566a9af0b..a5f885465d 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -105,7 +105,6 @@ ironic_dnsmasq_dhcp_ranges: {% if scenario == "masakari" %} enable_masakari: "yes" -enable_hacluster: "yes" {% endif %} {% if scenario == "cells" %}