]> 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>
Tue, 20 Feb 2024 14:04:02 +0000 (09:04 -0500)
commitf73c0665f2be46b6aef535a988e5550a92669cc1
treeaef01d4a20feef1681e72f028bac824bca9060a9
parent512154fa8d8fb58aefe5ddcedad865ad37a1634a
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)
src/cephadm/cephadmlib/container_daemon_form.py