Fix Masakari host monitor default config

Closes-Bug: #1933209
Change-Id: I644ad475ca88aac0c22b14163d33a30193fe706a
This commit is contained in:
Radosław Piliszek 2021-07-01 18:19:56 +00:00
parent e63d985ccb
commit f71646da18
2 changed files with 17 additions and 0 deletions

View File

@ -27,6 +27,12 @@ connection_uri = "qemu+tcp://{{ migration_interface_address | put_address_in_con
This limitation may be lifted in the near future (Xena+). This limitation may be lifted in the near future (Xena+).
#} #}
restrict_to_remotes = True restrict_to_remotes = True
{#
NOTE(yoctozepto): ``disable_ipmi_check`` is due to ``restrict_to_remotes``
above.
See https://bugs.launchpad.net/masakari-monitors/+bug/1933203
#}
disable_ipmi_check = True
{% if inventory_hostname in groups['hacluster'] %} {% if inventory_hostname in groups['hacluster'] %}
pacemaker_node_type = cluster pacemaker_node_type = cluster
corosync_multicast_interfaces = {{ api_interface }} corosync_multicast_interfaces = {{ api_interface }}

View File

@ -0,0 +1,11 @@
---
fixes:
- |
Fixes default Masakari host monitor config to work with other config that
Kolla Ansible sets.
This sets ``disable_ipmi_check`` due to ``restrict_to_remotes`` being set.
It prevents the ``TypeError`` that happened when host monitor had to
take action.
This does not affect any functionality so far as Kolla Ansible does not
manage IPMI credentials in Pacemaker.
`LP#1933209 <https://launchpad.net/bugs/1933209>`__