From: Sage Weil Date: Fri, 25 Oct 2019 21:03:24 +0000 (-0500) Subject: mgr/ssh: python, not python3 X-Git-Tag: v15.1.0~1129^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cfe1898b91471c73e7d1811d71f9acd4356ff5a0;p=ceph.git mgr/ssh: python, not python3 python 2.x is okay too. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/ssh/module.py b/src/pybind/mgr/ssh/module.py index 9f6c0c3e9c8c..570ae9879a3d 100644 --- a/src/pybind/mgr/ssh/module.py +++ b/src/pybind/mgr/ssh/module.py @@ -375,7 +375,7 @@ class SSHOrchestrator(MgrModule, orchestrator.Orchestrator): out, err, code = remoto.process.check( conn, - ['/usr/bin/python3', '-u'], + ['/usr/bin/python', '-u'], stdin=script.encode('utf-8')) self.log.debug('exit code %s out %s err %s' % (code, out, err)) return out, code