From 236160be2735fa7fab928573f9bd422be88e2f4d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 16 Dec 2019 10:17:26 -0600 Subject: [PATCH] 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-* --- qa/tasks/cbt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] -- 2.47.3