From: Neha Ojha Date: Fri, 7 Jun 2019 00:21:38 +0000 (-0700) Subject: qa/tasks/cbt.py: change port to work with client_endpoints X-Git-Tag: v14.2.3~91^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=044d9a64548f79f6e756e6b9396160f64a4fdaf5;p=ceph.git qa/tasks/cbt.py: change port to work with client_endpoints hack to work with https://github.com/ceph/cbt/pull/160/ Signed-off-by: Neha Ojha (cherry picked from commit ee02416c654581d77d5f976da89b4a33dd1172e3) --- diff --git a/qa/tasks/cbt.py b/qa/tasks/cbt.py index 31614cf349e79..9f8520f8cc539 100644 --- a/qa/tasks/cbt.py +++ b/qa/tasks/cbt.py @@ -61,7 +61,7 @@ class CBT(Task): remotes_and_roles = self.ctx.cluster.remotes.items() ips = [host for (host, port) in (remote.ssh.get_transport().getpeername() for (remote, role_list) in remotes_and_roles)] - benchmark_config['cosbench']['auth'] = "username=cosbench:operator;password=intel2012;url=http://%s:7280/auth/v1.0;retry=9" %(ips[0]) + benchmark_config['cosbench']['auth'] = "username=cosbench:operator;password=intel2012;url=http://%s:80/auth/v1.0;retry=9" %(ips[0]) return dict( cluster=cluster_config,