summaryrefslogtreecommitdiffstats
path: root/src/cephadm/cephadm.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cephadm/cephadm.py')
-rwxr-xr-xsrc/cephadm/cephadm.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cephadm/cephadm.py b/src/cephadm/cephadm.py
index 75ac3045c1e..5c0762f8bf3 100755
--- a/src/cephadm/cephadm.py
+++ b/src/cephadm/cephadm.py
@@ -167,6 +167,7 @@ from cephadmlib import templating
from cephadmlib.daemons.ceph import get_ceph_mounts_for_type, ceph_daemons
from cephadmlib.daemons import (
Ceph,
+ CephExporter,
CephIscsi,
CephNvmeof,
CustomContainer,
@@ -867,6 +868,10 @@ def create_daemon_dirs(
node_proxy = NodeProxy.init(ctx, fsid, ident.daemon_id)
node_proxy.create_daemon_dirs(data_dir, uid, gid)
+ elif daemon_type == CephExporter.daemon_type:
+ ceph_exporter = CephExporter.init(ctx, fsid, ident.daemon_id)
+ ceph_exporter.create_daemon_dirs(data_dir, uid, gid)
+
else:
daemon = daemon_form_create(ctx, ident)
if isinstance(daemon, ContainerDaemonForm):