]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
cephadm-adopt: remove prometheus workaround v6.0.0
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 21 Jan 2021 20:26:09 +0000 (15:26 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 10 Feb 2021 12:51:41 +0000 (13:51 +0100)
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>
infrastructure-playbooks/cephadm-adopt.yml

index 3cc84cae70aace0fedbb59eac15d012fe922c31e..9127dd10e70be2e8208d24f0f283b4f01177429d 100644 (file)
             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 }}"