From 53497b4252e80c61636b899084c6c0da82b48256 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 27 Dec 2019 19:03:24 +0800 Subject: [PATCH] qa/tasks/cbt: install python3 deps Signed-off-by: Sage Weil (cherry picked from commit 299375852a4b3210cf5b95d3559d69080f14339f) Conflicts: qa/tasks/cbt.py: install python36-* instead of python3-* packages. as in EL7, python packages is still versioned using minor version, and they don't "Provide" python3-*. --- 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 b774cb5669900..e0a1720dd32ba 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.39.5