From 5d25edd7f88b6ac2855b502327907f4fa62bccdc Mon Sep 17 00:00:00 2001 From: MrCreosote Date: Thu, 8 Jan 2026 17:26:01 -0800 Subject: [PATCH] Log container mount point in external executor --- cdmtaskservice/externalexecution/executor.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cdmtaskservice/externalexecution/executor.py b/cdmtaskservice/externalexecution/executor.py index 919a026..2a83b84 100644 --- a/cdmtaskservice/externalexecution/executor.py +++ b/cdmtaskservice/externalexecution/executor.py @@ -244,9 +244,12 @@ async def _run_container(self, job: models.AdminJobDetails) -> int: str(output): job.job_input.params.output_mount_point, } if job.image.refdata_id: - mounts[ - str(Path(self._cfg.refdata_host_path) / job.image.refdata_id) - ] = job.get_refdata_mount_point() + host_mount = str(Path(self._cfg.refdata_host_path) / job.image.refdata_id) + mounts[host_mount] = job.get_refdata_mount_point() + self._logr.info( + f"Mounting host refdata at '{host_mount}' to '{job.get_refdata_mount_point()}' " + + "in container" + ) self._logr.info( f"Starting image {job.image.name_with_digest} with command:\n{self._args.args}" )