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: Dimitri Savineau <dsavinea@redhat.com>
pull/6264/head v6.0.0
Dimitri Savineau 2021-01-21 15:26:09 -05:00 committed by Guillaume Abrioux
parent d42d584085
commit 950a6ae406
1 changed files with 0 additions and 9 deletions

View File

@ -959,15 +959,6 @@
path: /var/lib/prom_metrics path: /var/lib/prom_metrics
state: absent 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 - name: adopt prometheus daemon
cephadm_adopt: cephadm_adopt:
name: "prometheus.{{ ansible_hostname }}" name: "prometheus.{{ ansible_hostname }}"