Project

General

Profile

Actions

Fix #42714

closed

some scripts in teuthology fails with python: command not found in rhel-8

Added by rakesh manohar over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Core
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

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

Actions #1

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

Actions #2

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.

Actions #3

Updated by Kyrylo Shatskyy almost 4 years ago

Hey rakesh is this still reproducible? If no, maybe we can close this bug.

Actions #4

Updated by rakesh manohar almost 4 years ago

this has been fixed. we can close this bug

Actions #5

Updated by Shyukri Shyukriev over 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF