]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/ssh: python, not python3
authorSage Weil <sage@redhat.com>
Fri, 25 Oct 2019 21:03:24 +0000 (16:03 -0500)
committerSage Weil <sage@redhat.com>
Mon, 28 Oct 2019 17:15:47 +0000 (12:15 -0500)
python 2.x is okay too.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/ssh/module.py

index 9f6c0c3e9c8c1627890e011f9f915f89de743cd5..570ae9879a3d18d56739533a334dc393eb9eeeda 100644 (file)
@@ -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