summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer/base.py
diff options
context:
space:
mode:
authorTomi Juvonen <tomi.juvonen@nokia.com>2019-11-07 13:09:45 +0200
committerTomi Juvonen <tomi.juvonen@nokia.com>2019-11-19 06:58:07 +0000
commita0528f67abe01f0bb4be3565cfef4fd049afa1fa (patch)
tree04b542e405e951067a8a65b09ce8a0e6ebf7e09b /doctor_tests/installer/base.py
parente961ab783887a9c44d2a321df646f1c49f83b299 (diff)
Maintenance support for latest Fenix, python3 and Fuel
JIRA: DOCTOR-134 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com> Change-Id: I51a93637f30b0eece2075a8277616fb97a1b230e
Diffstat (limited to 'doctor_tests/installer/base.py')
-rw-r--r--doctor_tests/installer/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doctor_tests/installer/base.py b/doctor_tests/installer/base.py
index 7e2658e5..b2270654 100644
--- a/doctor_tests/installer/base.py
+++ b/doctor_tests/installer/base.py
@@ -139,10 +139,10 @@ class BaseInstaller(object):
ret, url = client.ssh(cmd)
if ret:
raise Exception('Exec command to get transport from '
- 'controller(%s) in Apex installer failed, '
+ 'controller(%s) failed, '
'ret=%s, output=%s'
% (self.controllers[0], ret, url))
- else:
+ elif self.controllers[0] not in url:
# need to use ip instead of hostname
ret = (re.sub("@.*:", "@%s:" % self.controllers[0],
url[0].split("=", 1)[1]))