Change localhost to ip for ssh cred check

Attempts to ssh from ostf container to localhost failed,
so  we need to use ip here.

Change-Id: I22c6c805467f6c7a3486ed34b186bc33edbd4276
Closes-Bug: #1529667
This commit is contained in:
Tatyana Leontovich 2015-12-30 15:29:28 +02:00
parent 74f12a7033
commit 0297d43ffa
1 changed files with 2 additions and 1 deletions

View File

@ -50,8 +50,9 @@ class SanityConfigurationTest(nmanager.SanityChecksTest):
Duration: 20 s.
Available since release: 2014.2-6.1
"""
ip = self.config.nailgun_host
ssh_client = SSHClient('localhost',
ssh_client = SSHClient(ip,
self.config.master.master_node_ssh_user,
self.config.master.master_node_ssh_password,
timeout=self.config.master.ssh_timeout)