]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cbt: install python3 deps
authorSage Weil <sage@redhat.com>
Mon, 16 Dec 2019 16:17:26 +0000 (10:17 -0600)
committerSage Weil <sage@redhat.com>
Mon, 16 Dec 2019 16:46:13 +0000 (10:46 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/cbt.py

index 606a0c4db3d421006aca3d7525460768ce352470..ed8237215d3058f45a59216ef1391998ee40066f 100644 (file)
@@ -75,10 +75,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 = ['python3-yaml', 'python3-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]