]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: create ceph-exporter sock dir if it's not present 56316/head
authorAdam King <adking@redhat.com>
Mon, 19 Feb 2024 16:14:11 +0000 (11:14 -0500)
committerAdam King <adking@redhat.com>
Wed, 27 Mar 2024 20:12:32 +0000 (16:12 -0400)
commite086e7182d1a4b75fa956999d1ff10e396658090
tree08c8bec787bb6e23be02cf9f31366ff2e4290118
parent6c102f30a06344c57b25a1786f175c78c1298796
cephadm: create ceph-exporter sock dir if it's not present

Since this is usually /var/run/ceph/ which ends up getting
created by other daemons as well, it was common to see
ceph-exporter fail to deploy and then deploy fine after
once other daemons were down on the host. I don't see any
reason we can't just try to make the directory here instead
of bailing out.

Fixes: https://tracker.ceph.com/issues/64491wq
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 862fca945f5bf48144b6a589f1d3cd971444daf7)
src/cephadm/cephadmlib/daemons/ceph.py