Allow to configure corosync ports

We add 2 extra variables, to make corosync port configurable along with
enablement of ipmi checks.

Change-Id: I970bdaad0af79599d8a7c8cf95f89d273eb791de
This commit is contained in:
Dmitriy Rabotyagov 2021-05-03 13:41:58 +03:00
parent ab83972fde
commit f8a6ebd134
3 changed files with 11 additions and 2 deletions

View File

@ -190,3 +190,5 @@ masakari_optional_oslomsg_amqp1_pip_packages:
# The multicast interface used by corocync for masakari hostmonitor
masakari_monitor_corosync_multicast_interface: "br-mgmt"
masakari_monitor_corosync_multicast_ports: 5405
masakari_monitor_corosync_ipmi_check: False

View File

@ -0,0 +1,7 @@
---
features:
- |
Added variables ``masakari_monitor_corosync_multicast_ports`` and
``masakari_monitor_corosync_ipmi_check`` that allow to define ports used
by corosync service and to enable IPMI checks in case ipmi RA is set in
pacemaker.

View File

@ -17,9 +17,9 @@ user_domain_id = {{ masakari_service_user_domain_id }}
password = {{ masakari_service_password }}
[host]
disable_ipmi_check = True
disable_ipmi_check = {{ masakari_monitor_corosync_ipmi_check }}
corosync_multicast_interfaces = {{ masakari_monitor_corosync_multicast_interface }}
corosync_multicast_ports = 5405
corosync_multicast_ports = {{ masakari_monitor_corosync_multicast_ports }}
[process]
check_interval = 5