Issues resolutions requiring manual application

Issues resolutions requiring manual application

Note

Before proceeding with the manual steps below, verify that you have performed the steps described in Apply maintenance updates.


[35705] Improper operation of Galera HA

Fixed the issue with Galera and HAProxy using the MySQL health check instead of the Galera health check.

To apply the issue resolution:

  1. Log in to the Salt Master node.

  2. 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>
        ...
    
  3. 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
    
  4. Commit the changes to your local repository.


[35884] Alerts from Alertmanager are absent in Alerta

Fixed the issue with Alertmanager failing to send alerts to Alerta.

To apply the issue resolution:

  1. Log in to the Salt Master node.

  2. 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>
        ...
    
  3. 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}
        ...
    
  4. 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
    
  5. Commit the changes to your local repository.