diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-10-10 23:57:38 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-10-10 23:57:38 +0000 |
| commit | f54cf7bf53a07be8bcea817fd53359d02c3eda7c (patch) | |
| tree | fa2657eee547bb2a72565146ebe664ab6b45fbae | |
| parent | 3d726a77cac5b3f0b9e5cb86e72a5298bd9958ca (diff) | |
| parent | ea3f31b7e9e5afb6ca7905809be520800764841d (diff) | |
| download | nova-f54cf7bf53a07be8bcea817fd53359d02c3eda7c.tar.gz nova-f54cf7bf53a07be8bcea817fd53359d02c3eda7c.tar.xz nova-f54cf7bf53a07be8bcea817fd53359d02c3eda7c.zip | |
Merge "Use paramiko.AutoAddPolicy for the smoketests."
| -rw-r--r-- | smoketests/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketests/base.py b/smoketests/base.py index aa0a0aae2..93f78f5dc 100644 --- a/smoketests/base.py +++ b/smoketests/base.py @@ -41,7 +41,7 @@ class SmokeTestCase(unittest.TestCase): while(True): try: client = paramiko.SSHClient() - client.set_missing_host_key_policy(paramiko.WarningPolicy()) + client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect(ip, username='root', pkey=key, timeout=5) return client except (paramiko.AuthenticationException, paramiko.SSHException): |
