From: Matan Breizman Date: Thu, 9 Mar 2023 15:09:12 +0000 (+0000) Subject: qa/tasks/cbt.py: Install collectl manually X-Git-Tag: v19.0.0~935^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=780f6f55cd605302e13c0022ef62766edac299f8;p=ceph.git qa/tasks/cbt.py: Install collectl manually See: d4a04809fd7fd8aaf447005f76a1090db99d75c5 Signed-off-by: Matan Breizman --- diff --git a/qa/tasks/cbt.py b/qa/tasks/cbt.py index 56c57138b0c2..2e7d89d5cc0a 100644 --- a/qa/tasks/cbt.py +++ b/qa/tasks/cbt.py @@ -74,7 +74,19 @@ class CBT(Task): if system_type == 'rpm': install_cmd = ['sudo', 'yum', '-y', 'install'] - cbt_depends = ['python3-yaml', 'python3-lxml', 'librbd-devel', 'pdsh', 'collectl'] + cbt_depends = ['python3-yaml', 'python3-lxml', 'librbd-devel', 'pdsh', 'pdsh-rcmd-ssh'] + self.log.info('Installing collectl') + collectl_location = "https://sourceforge.net/projects/collectl/files/collectl/collectl-4.3.1/collectl-4.3.1.src.tar.gz/download" + self.first_mon.run( + args=[ + 'sudo', 'mkdir', 'collectl', run.Raw('&&'), + 'cd', 'collectl', run.Raw('&&'), + 'sudo', 'wget', collectl_location, '-O', 'collectl.tar.gz', run.Raw('&&'), + 'sudo', 'tar', '-xvf', 'collectl.tar.gz' , run.Raw('&&'), + 'cd', 'collectl-4.3.1', run.Raw('&&'), + 'sudo', './INSTALL' + ] + ) else: install_cmd = ['sudo', 'apt-get', '-y', '--force-yes', 'install'] cbt_depends = ['python3-yaml', 'python3-lxml', 'librbd-dev', 'collectl']