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.


[26249] Grafana dashboard displays no data

Fixed the issue with the Prometheus Stats Grafana dashboard displaying no data in the Queries duration panels.

To apply the issue resolution:

  1. Open your Git project repository with the Reclass model on the cluster level.

  2. In stacklight/client.yml, replace the following parameter:

    grafana_prometheus_port: ${_param:prometheus_relay_bind_port}
    

    with:

    grafana_prometheus_port: ${_param:cluster_prometheus_relay_port}
    
  3. In stacklight/init.yml, add the following parameter to the _param section:

    cluster_prometheus_relay_port: 8080
    
  4. Log in to the Salt Master node.

  5. Apply the following state:

    salt -C 'I@grafana:client' state.sls grafana.client
    

[27504] Alertmanager notifications include internal URLs

Fixed the issue with the Alertmanager notifications including internal URLs instead of public ones.

To apply the issue resolution:

  1. Open your Git project repository with the Reclass model on the cluster level.

  2. In infra/config/proxy.yml, remove the cluster_public_host parameter.

  3. In infra/init.yml, set the cluster_public_host parameter to the cluster external address of FQDN, if any. Otherwise, set the parameter to ${_param:openstack_proxy_address} or ${_param:kubernetes_proxy_address} according to your deployment type.

  4. In stacklight/server.yml:

    1. Set the alertmanager_external_url parameter to ${_param:cluster_public_host}.

    2. Remove the following parameters:

      cluster_public_host: ${_param:cluster_vip_address}
          # Proxy
          cluster_ssl_certificate:
            enabled: true
            pem_file: /etc/haproxy/ssl/${_param:cluster_public_host}-all.pem
          haproxy_bind_address: ${_param:cluster_vip_address}
      
  5. Log in to the Salt Master node.

  6. Apply the following states one by one:

    salt -C 'I@docker:swarm and I@prometheus:server' state.sls prometheus -b 1
    salt -C 'I@salt:minion' state.sls salt.minion.cert -b 50%