Skip to content

Commit 05be9a4

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Fix Masakari host monitor default config" into stable/wallaby
2 parents 9f13719 + 38748d2 commit 05be9a4

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

ansible/roles/masakari/templates/masakari-monitors.conf.j2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ connection_uri = "qemu+tcp://{{ migration_interface_address | put_address_in_con
2727
This limitation may be lifted in the near future (Xena+).
2828
#}
2929
restrict_to_remotes = True
30+
{#
31+
NOTE(yoctozepto): ``disable_ipmi_check`` is due to ``restrict_to_remotes``
32+
above.
33+
See https://bugs.launchpad.net/masakari-monitors/+bug/1933203
34+
#}
35+
disable_ipmi_check = True
3036
{% if inventory_hostname in groups['hacluster'] %}
3137
pacemaker_node_type = cluster
3238
corosync_multicast_interfaces = {{ api_interface }}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes default Masakari host monitor config to work with other config that
5+
Kolla Ansible sets.
6+
This sets ``disable_ipmi_check`` due to ``restrict_to_remotes`` being set.
7+
It prevents the ``TypeError`` that happened when host monitor had to
8+
take action.
9+
This does not affect any functionality so far as Kolla Ansible does not
10+
manage IPMI credentials in Pacemaker.
11+
`LP#1933209 <https://launchpad.net/bugs/1933209>`__

0 commit comments

Comments
 (0)