Note
Before proceeding with the manual steps below, verify that you have performed the steps described in Apply maintenance updates.
Fixed the issue with Galera and HAProxy using the MySQL health check instead of the Galera health check.
To apply the issue resolution:
Log in to the Salt Master node.
Generate a Galera cluster check password and add it to
classes/cluster/<cluster_name>/infra/secrets.yml
using the following
parameter as described in
MCP Operations Guide: Manage secrets in the Reclass model.
parameters:
_param:
...
galera_clustercheck_password: <generated_password>
...
Apply the changes to Galera and HAProxy:
salt -C 'I@galera:master or I@galera:slave' saltutil.refresh_pillar
salt -C 'I@galera:master or I@galera:slave' state.apply galera
salt -C 'I@galera:master or I@galera:slave' state.apply haproxy
Commit the changes to your local repository.
Fixed the issue with Alertmanager failing to send alerts to Alerta.
To apply the issue resolution:
Log in to the Salt Master node.
Generate an Alerta admin API key and add it to
classes/cluster/<cluster_name>/infra/secrets.yml
using the following
parameter as described in
MCP Operations Guide: Manage secrets in the Reclass model.
parameters:
_param:
...
alerta_admin_api_key_generated: <generated_40_hex_api_key>
...
Add the generated Alerta admin API key to
classes/cluster/<cluster_name>/stacklight/init.yml
using the following
parameter.
parameters:
_param:
...
alerta_admin_key: ${_param:alerta_admin_api_key_generated}
...
Apply the changes to Alerta and Alertmanager:
salt -C 'I@prometheus:alerta or I@prometheus:alertmanager' saltutil.refresh_pillar
salt -C 'I@prometheus:alerta' state.apply prometheus.alerta
salt -C 'I@prometheus:alertmanager' state.apply prometheus.alertmanager
salt -C 'I@prometheus:alerta or I@prometheus:alertmanager' state.apply docker.client
Commit the changes to your local repository.