From 6fd601aa4c2402b179e9724be13999d891018e32 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Mon, 6 Dec 2021 13:42:56 -0700 Subject: [PATCH] cephadm: compile cephadm use cephadm.py when mounting via the `--dev_share_folder` option Signed-off-by: Michael Fritch --- src/cephadm/cephadm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cephadm/cephadm.py b/src/cephadm/cephadm.py index f304409e7684e..25c18553ab176 100755 --- a/src/cephadm/cephadm.py +++ b/src/cephadm/cephadm.py @@ -2949,7 +2949,7 @@ def get_container_mounts(ctx, fsid, daemon_type, daemon_id, ceph_folder = pathify(ctx.shared_ceph_folder) if os.path.exists(ceph_folder): mounts[ceph_folder + '/src/ceph-volume/ceph_volume'] = '/usr/lib/python3.6/site-packages/ceph_volume' - mounts[ceph_folder + '/src/cephadm/cephadm'] = '/usr/sbin/cephadm' + mounts[ceph_folder + '/src/cephadm/cephadm.py'] = '/usr/sbin/cephadm' mounts[ceph_folder + '/src/pybind/mgr'] = '/usr/share/ceph/mgr' mounts[ceph_folder + '/src/python-common/ceph'] = '/usr/lib/python3.6/site-packages/ceph' mounts[ceph_folder + '/monitoring/ceph-mixin/dashboards_out'] = '/etc/grafana/dashboards/ceph-dashboard'