It is possible to change default root password for Fuel master node in system tests:
https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/settings.py#L484-L487
But currently that feature doesn't work, because tests are trying to log in to master node via SSH with new password, before credentials are changed:
2015-12-13 20:46:51,982 - DEBUG helpers.py:255 -- Connect to '10.109.10.2:22' as 'root:ceph1'
2015-12-13 20:46:51,994 - INFO transport.py:1545 -- Connected (version 2.0, client OpenSSH_6.6.1)
2015-12-13 20:46:54,279 - INFO transport.py:1545 -- Authentication (password) failed.
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/8.0.custom_system_test/fuelweb_test/helpers/decorators.py", line 80, in wrapper
result = func(*args, **kwargs)
File "/home/jenkins/workspace/8.0.custom_system_test/fuelweb_test/tests/base_test_case.py", line 132, in setup_master
self.env.setup_environment()
File "/home/jenkins/workspace/8.0.custom_system_test/fuelweb_test/models/environment.py", line 437, in setup_environment
self.wait_for_external_config()
File "/home/jenkins/workspace/8.0.custom_system_test/fuelweb_test/__init__.py", line 57, in wrapped
result = func(*args, **kwargs)
File "/home/jenkins/workspace/8.0.custom_system_test/fuelweb_test/models/environment.py", line 511, in wait_for_external_config
with self.d_env.get_admin_remote() as remote:
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/models/environment.py", line 381, in get_admin_remote
password=password)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/models/node.py", line 168, in remote
password=password, private_keys=private_keys)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 230, in __init__
self.reconnect()
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 273, in reconnect
self.connect()
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/retry.py", line 27, in wrapper
return func(*args, **kwargs)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 268, in connect
password=self.password)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/paramiko/client.py", line 367, in connect
look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/paramiko/client.py", line 584, in _auth
raise saved_exception
AuthenticationException: Authentication failed.
Fix proposed to branch: master /review. openstack. org/257070
Review: https:/