summaryrefslogtreecommitdiffstats
path: root/yardstick
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-08-15 12:08:48 +0000
committerrexlee8776 <limingjiang@huawei.com>2016-08-15 15:28:51 +0000
commitdc2a70ed32ac3a7919d0891b50bb621b226d5bc9 (patch)
tree267573658bb630a98987aa16673c2caf6efebe48 /yardstick
parent1a31405923f0007e3aaaf36f174b268ed99fa368 (diff)
bug fix: ssh authentiation error when run compass scenario in fuel
JIRA: YARDSTICK-319 Change-Id: I25ee9a2582c751024b30e91eabf77aebb14a02f7 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'yardstick')
-rw-r--r--yardstick/ssh.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/yardstick/ssh.py b/yardstick/ssh.py
index 2816a1c7d..cf890df6f 100644
--- a/yardstick/ssh.py
+++ b/yardstick/ssh.py
@@ -121,7 +121,9 @@ class SSH(object):
self._client.connect(self.host, username=self.user,
port=self.port, pkey=self.pkey,
key_filename=self.key_filename,
- password=self.password, timeout=1)
+ password=self.password,
+ allow_agent=False, look_for_keys=False,
+ timeout=1)
return self._client
except Exception as e:
message = ("Exception %(exception_type)s was raised "