diff --git a/ansible/roles/masakari/templates/masakari-monitors.conf.j2 b/ansible/roles/masakari/templates/masakari-monitors.conf.j2 index 7ccd6781ec..0239e6e5a4 100644 --- a/ansible/roles/masakari/templates/masakari-monitors.conf.j2 +++ b/ansible/roles/masakari/templates/masakari-monitors.conf.j2 @@ -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+). #} 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'] %} pacemaker_node_type = cluster corosync_multicast_interfaces = {{ api_interface }} diff --git a/releasenotes/notes/bug-1933209-73e78353cb5c3266.yaml b/releasenotes/notes/bug-1933209-73e78353cb5c3266.yaml new file mode 100644 index 0000000000..452344589a --- /dev/null +++ b/releasenotes/notes/bug-1933209-73e78353cb5c3266.yaml @@ -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 `__