From f71646da186f74fa6f562d4fbc1910ede3120a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Thu, 1 Jul 2021 18:19:56 +0000 Subject: [PATCH] Fix Masakari host monitor default config Closes-Bug: #1933209 Change-Id: I644ad475ca88aac0c22b14163d33a30193fe706a --- .../masakari/templates/masakari-monitors.conf.j2 | 6 ++++++ releasenotes/notes/bug-1933209-73e78353cb5c3266.yaml | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 releasenotes/notes/bug-1933209-73e78353cb5c3266.yaml 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 `__