From: Sage Weil Date: Mon, 16 Dec 2019 16:17:26 +0000 (-0600) Subject: qa/tasks/cbt: install python3 deps X-Git-Tag: v13.2.9~9^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=236160be2735fa7fab928573f9bd422be88e2f4d;p=ceph.git qa/tasks/cbt: install python3 deps Signed-off-by: Sage Weil (cherry picked from commit 299375852a4b3210cf5b95d3559d69080f14339f) Conflict: qa/tasks/cbt.py: change python3-yaml to python36-PyYAML, as in EL7, python3-* packages are still named python36-* --- diff --git a/qa/tasks/cbt.py b/qa/tasks/cbt.py index cef236cf26e..dfbeb5f835c 100644 --- a/qa/tasks/cbt.py +++ b/qa/tasks/cbt.py @@ -73,10 +73,10 @@ class CBT(Task): if system_type == 'rpm': install_cmd = ['sudo', 'yum', '-y', 'install'] - cbt_depends = ['python-yaml', 'python-lxml', 'librbd-devel', 'pdsh', 'collectl'] + cbt_depends = ['python36-PyYAML', 'python36-lxml', 'librbd-devel', 'pdsh', 'collectl'] else: install_cmd = ['sudo', 'apt-get', '-y', '--force-yes', 'install'] - cbt_depends = ['python-yaml', 'python-lxml', 'librbd-dev', 'collectl'] + cbt_depends = ['python3-yaml', 'python3-lxml', 'librbd-dev', 'collectl'] self.first_mon.run(args=install_cmd + cbt_depends) benchmark_type = self.cbt_config.get('benchmarks').keys()[0]