Commit 950a6ae4 authored by Dimitri Savineau's avatar Dimitri Savineau Committed by Guillaume Abrioux
Browse files

cephadm-adopt: remove prometheus workaround

This was fixed by [1][2]

[1] https://tracker.ceph.com/issues/45120
[2] https://github.com/ceph/ceph/commit/252d4b30

Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
parent d42d5840
......@@ -959,15 +959,6 @@
path: /var/lib/prom_metrics
state: absent
# (workaround) https://tracker.ceph.com/issues/45120
- name: create missing prometheus target directory
file:
path: '/var/lib/ceph/{{ fsid }}/prometheus.{{ ansible_hostname }}/etc/prometheus'
state: directory
owner: 65534
group: 65534
recurse: true
- name: adopt prometheus daemon
cephadm_adopt:
name: "prometheus.{{ ansible_hostname }}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment