diff options
author | liang gao <jean.gaoliang@huawei.com> | 2016-06-30 02:24:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-06-30 02:24:28 +0000 |
commit | d7aca2eadc53a1e1dbf7c7c29f2a83e7e5085b0c (patch) | |
tree | c69930d283afa382cfede16e185c3a51489f45d6 /yardstick | |
parent | 41dde94d0a4e575317c297e124ba0624e64c8552 (diff) | |
parent | 0df428ebf9ded14254f73085b28c264086a1bf0d (diff) |
Merge "fix ssh bug when running tc043 on huawei_pod1"
Diffstat (limited to 'yardstick')
-rw-r--r-- | yardstick/benchmark/scenarios/networking/ping.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping.py b/yardstick/benchmark/scenarios/networking/ping.py index aa1a500cf..ae2166687 100644 --- a/yardstick/benchmark/scenarios/networking/ping.py +++ b/yardstick/benchmark/scenarios/networking/ping.py @@ -40,10 +40,10 @@ class Ping(base.Scenario): host = self.context_cfg['host'] user = host.get('user', 'ubuntu') ip = host.get('ip', None) - key_filename = host.get('key_filename', '~/.ssh/id_rsa') + key_filename = host.get('key_filename', '/root/.ssh/id_rsa') password = host.get('password', 'root') - LOG.info("user:%s, host:%s", user, ip) + LOG.info("user:%s, host:%s, key_filename:%s", user, ip, key_filename) self.connection = ssh.SSH(user, ip, key_filename=key_filename, password=password) self.connection.wait() |