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']