-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
?
-
?
-
?
-
?
-
None
-
-
When the test-operator creates the ~/.ssh/id_ecdsa file for tobiko, the permissions are wrong:
sh-5.1$ whoami
tobiko
sh-5.1$ ls -ld ~/.ssh/
drwxr-xr-x. 2 root root 42 Feb 21 08:06 /var/lib/tobiko/.ssh/
sh-5.1$ ls -l ~/.ssh/
total 8
-rw-r-----. 1 root tobiko 715 Feb 21 08:06 id_ecdsa
-rw-r-xr-x. 1 root tobiko 252 Feb 21 08:06 id_ecdsa.pub
Tobiko needs to create other files under that directory (more specifically, ssh keys to access to the EDPM nodes) and cannot due it due to permissions (the tests are executed by the tobiko user).
It can be fixed with this workaround:
cifmw_test_operator_tobiko_override_conf:
rhosp:
ssh_key_filename: '~/tobiko_keys/osp_ssh_key'
- is related to
-
OSPRH-2414 [RFE] Podified Control Plane : Tempest (testing) operator
- Closed
- links to