]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cbt.py: change port to work with client_endpoints 29453/head
authorNeha Ojha <nojha@redhat.com>
Fri, 7 Jun 2019 00:21:38 +0000 (17:21 -0700)
committerNeha Ojha <nojha@redhat.com>
Thu, 1 Aug 2019 22:36:06 +0000 (15:36 -0700)
hack to work with https://github.com/ceph/cbt/pull/160/

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit ee02416c654581d77d5f976da89b4a33dd1172e3)

qa/tasks/cbt.py

index 31614cf349e797c6bf445f54607b863606778ed1..9f8520f8cc539c17be55e77b3e80ecd671bbfb4c 100644 (file)
@@ -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,