]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
prometheus: enforce osd nodes in templates
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 25 May 2021 07:26:28 +0000 (09:26 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 25 May 2021 14:53:49 +0000 (16:53 +0200)
commit664dae0564d54d6df873b96264e59fa38c8280a4
tree28237cf89d4b3726f845ec7554ee6e0df0585987
parent43b1c7bea9531d16cbdf6f9a8690f735d2190730
prometheus: enforce osd nodes in templates

When osd nodes are collocated in the clients group (HCI context for
instance), the current logic will exclude osd nodes since they are
present in the client group.

The best fix would be to exclude clients node only when they are not
member of another group but for now, as a workaround, we can enforce
the addition of osd nodes to fix this specific case.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1947695
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-prometheus/templates/prometheus.yml.j2