Project

General

Profile

Fix #42714

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

Added by rakesh manohar 11 days ago. Updated 7 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Start date:
11/08/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature:

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

History

#1 Updated by rakesh manohar 11 days 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

#2 Updated by Zack Cerza 7 days ago

I'm wondering why the kernel task isn't just using Remote.put_file() here.

Also available in: Atom PDF