From ac99fe75450202bc796950d452920c12037154df Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 3 Oct 2019 16:13:47 -0500 Subject: [PATCH] mgr/ssh: pipe ceph-daemon script to stdin of python3 This avoids any need for the script to be present on the remote host. We introduce a config option to indicate where the script should be read from, since the location varies between a vstart environment (source dir) and a real install (/usr/sbin). Signed-off-by: Sage Weil --- src/common/options.cc | 5 ++++ src/pybind/mgr/ssh/module.py | 48 +++++++++++++++++++++--------------- src/vstart.sh | 1 + 3 files changed, 34 insertions(+), 20 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index e24c1156ff37b..53d87cba83c39 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5428,6 +5428,11 @@ std::vector