]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add a prepare_data_dir method to container daemon form
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 24 Nov 2023 19:45:15 +0000 (14:45 -0500)
committerAdam King <adking@redhat.com>
Wed, 27 Mar 2024 20:11:42 +0000 (16:11 -0400)
commit2677183b60c87232e10605503a839701904b5015
tree6ff274deef2e6d2e5ce06d06e4cb9321a698cddf
parentd81091c2e9fa9670565df16d45eaf844c330b249
cephadm: add a prepare_data_dir method to container daemon form

The prepare_data_dir method is a general way for classes to prepare the
data dir (e.g. `/var/lib/ceph/$FSID/$DAEMON_TYPE.$DAEMON_ID`) before
containers will use it.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 044e4d64790d3c06cbf67a6c783c19edcfcf2d51)
(cherry picked from commit f73c0665f2be46b6aef535a988e5550a92669cc1)
src/cephadm/cephadmlib/container_daemon_form.py