Log the actual NAT ip attempting to SSH into

VM IP is the guest IP and it's the NAT ip that is used for ssh.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-06-07 15:02:55 +05:30
parent 1c9cd9d360
commit 302741d309

View File

@ -1209,7 +1209,7 @@ class TestRebootRouter(cloudstackTestCase):
except Exception as e:
self.fail(
"SSH Access failed for %s: %s" % \
(self.vm_1.ipaddress, e))
(self.nat_rule.ipaddress.ipaddress, e))
return
def tearDown(self):