Skip to content

Commit

Permalink
cephadm-adopt: remove prometheus workaround
Browse files Browse the repository at this point in the history
This was fixed by [1][2]

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

Signed-off-by: Dimitri Savineau <[email protected]>
  • Loading branch information
dsavineau authored and guits committed Feb 10, 2021
1 parent d42d584 commit 950a6ae
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions infrastructure-playbooks/cephadm-adopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 950a6ae

Please sign in to comment.