it's necessary to fix ovs firewall tests:
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/10.0.system_test.ubuntu.ovs_firewall_with_dpdk/fuelweb_test/helpers/decorators.py", line 120, in wrapper
result = func(*args, **kwargs)
File "/home/jenkins/workspace/10.0.system_test.ubuntu.ovs_firewall_with_dpdk/fuelweb_test/tests/test_ovs_firewall.py", line 510, in deploy_ovs_firewall_and_dpdk_vlan
check_firewall_driver(node['ip'], node['roles'][0], 'openvswitch')
File "/home/jenkins/workspace/10.0.system_test.ubuntu.ovs_firewall_with_dpdk/fuelweb_test/helpers/checkers.py", line 1505, in check_firewall_driver
ssh_manager.open_on_remote(ip, configpath))
File "/home/jenkins/workspace/10.0.system_test.ubuntu.ovs_firewall_with_dpdk/fuelweb_test/helpers/ssh_manager.py", line 345, in open_on_remote
return remote.open(path, mode)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/ssh_client.py", line 836, in open
return self._sftp.open(path, mode)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/paramiko/sftp_client.py", line 327, in open
t, msg = self._request(CMD_OPEN, filename, imode, attrblock)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/paramiko/sftp_client.py", line 730, in _request
return self._read_response(num)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/paramiko/sftp_client.py", line 781, in _read_response
self._convert_status(msg)
File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/paramiko/sftp_client.py", line 809, in _convert_status
raise IOError(errno.EACCES, text)
IOError: [Errno 13] Permission denied
This behavior is side-effect of non-root access feature. There are two way to fix the problem:
1. Refuse using of sftp in fuel-devops when we need to open file on remote (We cannot pass 'sudo' to sftp)
2. Use root access in tests which requires opening of file on remote