From 3eebdd2bb08aa68b4450c524c5fa09db580b52a8 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Tue, 19 Jun 2018 17:20:37 -0700 Subject: [PATCH] move cos driver into its own role Signed-off-by: Vasu Kulkarni --- qa/tasks/cbt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/tasks/cbt.py b/qa/tasks/cbt.py index 3b3bb0955be26..cb88356ff2859 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() -- 2.39.5