From b44121f483262beeea4d3b20b7065a313561e48a Mon Sep 17 00:00:00 2001 From: Adam King Date: Mon, 21 Oct 2024 10:59:03 -0400 Subject: [PATCH] cephadm: add python-common/ceph to cephadm zipapp We want to use this location for files to be shared between the cephadm binary and cephadm mgr module so it must be included as part of the zipapp Signed-off-by: Adam King --- src/cephadm/build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cephadm/build.py b/src/cephadm/build.py index ed39c84e9af52..43bc58a40034c 100755 --- a/src/cephadm/build.py +++ b/src/cephadm/build.py @@ -269,6 +269,9 @@ def _build(dest, src, config): mdir.mkdir(parents=True, exist_ok=True) (mdir / "__init__.py").touch(exist_ok=True) versioning_vars = config.cli_args.version_vars + shutil.copytree( + "../python-common/ceph", appdir / "ceph" + ) if versioning_vars: generate_version_file(versioning_vars, mdir / "version.py") if dinfo: -- 2.39.5