]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm:fix alerts sent to wrong URL
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 2 Jun 2021 23:34:19 +0000 (11:34 +1200)
committerSage Weil <sage@newdream.net>
Mon, 7 Jun 2021 14:10:19 +0000 (09:10 -0500)
commitbaceda25c3b81cb7e55f32771c70f01355a6b1b0
treefa7b0b0b5f719fc7c982cbb512177083e55f899c
parent8f8174ebd34ac21b85a304d4257f7f9680f7f0ce
mgr/cephadm:fix alerts sent to wrong URL

The path_prefix in prometheus.yml was specifying an
endpoint prefix, which was invalid. This resulted in 404
errors when trying to send alerts to alertmanager and
blocked alerts being sent on to the ceph-dashboard API
receiver. This fix remves this prefix.

Fixes: https://tracker.ceph.com/issues/51073
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit 9d408a70c7d01fd7c94f9b814af916396d7cbf1f)
src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2