Fix #42714
closedsome scripts in teuthology fails with python: command not found in rhel-8
0%
Description
No python soft link for "python2" in RHEL-8, even python2 is also not installed.
This causes some of the scripts like https://github.com/ceph/teuthology/blob/master/teuthology/task/kernel.py#L348 to fail with "python: command not found"
the problem is the same problem with pip, there is no "pip" soft link, there is only pip2(if python2 is installed) or pip3
Updated by rakesh manohar over 4 years ago
rakesh manohar wrote:
No python soft link for "python2" in RHEL-8, even python2 is also not installed.
This causes some of the scripts like https://github.com/ceph/teuthology/blob/master/teuthology/task/kernel.py#L348 to fail with "python: command not found"
the problem is the same problem with pip, there is no "pip" soft link, there is only pip2(if python2 is installed)
Can the fix be added in cm-ansible?
FYI, I accidentally marked this as fix
Updated by Zack Cerza over 4 years ago
I'm wondering why the kernel task isn't just using "Remote.put_file()":https://github.com/ceph/teuthology/blob/master/teuthology/orchestra/remote.py#L358
here.
Updated by Kyrylo Shatskyy almost 4 years ago
Hey rakesh is this still reproducible? If no, maybe we can close this bug.
Updated by rakesh manohar almost 4 years ago
this has been fixed. we can close this bug
Updated by Shyukri Shyukriev over 3 years ago
- Status changed from New to Resolved