]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: create ceph-exporter sock dir if it's not present
authorAdam King <adking@redhat.com>
Mon, 19 Feb 2024 16:14:11 +0000 (11:14 -0500)
committerAdam King <adking@redhat.com>
Wed, 21 Feb 2024 13:41:42 +0000 (08:41 -0500)
commit862fca945f5bf48144b6a589f1d3cd971444daf7
treeb1deb033f346db8d4d39383492ab0700200d541a
parentbf7e40b4d1fee439a4a7f48cf033d4a0885890d0
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>
src/cephadm/cephadmlib/daemons/ceph.py