summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Fritch <mfritch@suse.com>2021-12-06 21:42:56 +0100
committerJohn Mulligan <jmulligan@redhat.com>2022-09-13 18:17:20 +0200
commit6fd601aa4c2402b179e9724be13999d891018e32 (patch)
tree44f0ec0e6d08f2c95d078adff541312141d67d6d /src
parentqa/workunits/cephadm/test_cephadm: add `--no-pager` (diff)
downloadceph-6fd601aa4c2402b179e9724be13999d891018e32.tar.xz
ceph-6fd601aa4c2402b179e9724be13999d891018e32.zip
cephadm: compile cephadm
use cephadm.py when mounting via the `--dev_share_folder` option Signed-off-by: Michael Fritch <mfritch@suse.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cephadm/cephadm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cephadm/cephadm.py b/src/cephadm/cephadm.py
index f304409e768..25c18553ab1 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'