idealista / prometheus_server_role

Ansible role to install a Prometheus server
Apache License 2.0
5 stars 4 forks source link

Stuck in reload handler after rule changes #56

Closed caldito closed 3 years ago

caldito commented 3 years ago

Description

In some servers it gets stuck when reloading after a change in the rules. It can be solved by stop using the reload handler and only use the restart handler, which works well.

Steps to Reproduce

  1. Playbook with changes in rules
  2. When it tries to reload does not end

Expected behavior: To work after changing the rules

Actual behavior: Gets stuck reloading after change in rules

Reproduces how often: Only on some servers

Environment

Additional Information

N/A

caldito commented 3 years ago

The cause of the problem was that the remote write to a new version of promscale was not working properly. The promscale version was 0.5.1 and the prometheus one 2.2.1