]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
service_spec: force ceph-exporter sock_dir to be unest or "/var/run/ceph/"
authorAdam King <adking@redhat.com>
Mon, 13 Jan 2025 18:25:00 +0000 (13:25 -0500)
committerAdam King <adking@redhat.com>
Mon, 13 Jan 2025 18:28:05 +0000 (13:28 -0500)
commit4fccf58b4b1115e3ca092afac4905f7de85fde5e
tree2f1cf73dc3d6c227af3b8326fb4048046e4e672a
parent3b28df83624fbd0eaa7168ecbef3c60dac9b89d6
service_spec: force ceph-exporter sock_dir to be unest or "/var/run/ceph/"

As discussed in https://tracker.ceph.com/issues/69475 this
setting is effectively useless as it only controls the directory
inside the container where the ceph-exporter will write out
its asok file, and has no influence over where it is on the
host where the ceph-exporter daemon is deployed. Given any
custom values for the sock_dir setting would have always
been broken, we decided to skip out on writing a proper migration
step in cephadm to deal with this, and instead just force this
field to be unset

Signed-off-by: Adam King <adking@redhat.com>
src/python-common/ceph/deployment/service_spec.py