From: Vasu Kulkarni Date: Wed, 20 Jun 2018 00:20:37 +0000 (-0700) Subject: move cos driver into its own role X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3eebdd2bb08aa68b4450c524c5fa09db580b52a8;p=ceph.git move cos driver into its own role Signed-off-by: Vasu Kulkarni --- diff --git a/qa/tasks/cbt.py b/qa/tasks/cbt.py index 3b3bb0955be..cb88356ff28 100644 --- a/qa/tasks/cbt.py +++ b/qa/tasks/cbt.py @@ -25,6 +25,7 @@ class CBT(Task): mon_hosts = self.hosts_of_type('mon') osd_hosts = self.hosts_of_type('osd') client_hosts = self.hosts_of_type('client') + cos_driver = self.hosts_of_type('cos') rgw_client = {} rgw_client[client_hosts[0]] = None rgw_hosts = self.config.get('cluster', {}).get('rgws', rgw_client) @@ -55,7 +56,7 @@ class CBT(Task): benchmark_config['cosbench']['cosbench_dir'] = os.path.join(testdir, 'cos') benchmark_config['cosbench']['cosbench_xml_dir'] = os.path.join(testdir, 'xml') self.ctx.cluster.run(args=['mkdir', '-p', '-m0755', '--', benchmark_config['cosbench']['cosbench_xml_dir']]) - benchmark_config['cosbench']['controller'] = osd_hosts[0] + benchmark_config['cosbench']['controller'] = cos_driver[0] # set auth details remotes_and_roles = self.ctx.cluster.remotes.items()