diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2018-10-25 11:23:58 +0800 |
---|---|---|
committer | Tomi Juvonen <tomi.juvonen@nokia.com> | 2018-10-29 12:51:41 +0000 |
commit | a7517dda9ede8bedadcbcedf7a46187268977d3a (patch) | |
tree | 113f123f9b26c20eb6681863242569edbbb7eb4a /doctor_tests/installer/apex.py | |
parent | bec932db65949fb4c8356c590efc85eda6845c00 (diff) |
fix the username to login undercloud in Apex
Change-Id: I6d5325166db642b3481a0327f518ec821a8ab378
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
(cherry picked from commit 2a1d82ade82c3076a630af41da493da5a606993d)
Diffstat (limited to 'doctor_tests/installer/apex.py')
-rw-r--r-- | doctor_tests/installer/apex.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doctor_tests/installer/apex.py b/doctor_tests/installer/apex.py index 694adb88..31850a74 100644 --- a/doctor_tests/installer/apex.py +++ b/doctor_tests/installer/apex.py @@ -16,6 +16,7 @@ from doctor_tests.installer.base import BaseInstaller class ApexInstaller(BaseInstaller): node_user_name = 'heat-admin' + installer_username = 'stack' cm_set_script = 'set_config.py' nc_set_compute_script = 'set_compute_config.py' cg_set_script = 'set_congress.py' @@ -26,7 +27,7 @@ class ApexInstaller(BaseInstaller): def __init__(self, conf, log): super(ApexInstaller, self).__init__(conf, log) self.client = SSHClient(self.conf.installer.ip, - self.conf.installer.username, + self.installer_username, key_filename=self.conf.installer.key_file, look_for_keys=True) self.key_file = None |