From: Kyr Shatskyy Date: Sat, 5 Apr 2025 16:34:13 +0000 (+0200) Subject: provision/downburst: install pip for centos X-Git-Tag: 1.2.2~2^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2a84c23b89e2e2ea8251924f7132524fc6a94717;p=teuthology.git provision/downburst: install pip for centos By some reason, ansible is not install pip3 for centos: Unable to find any of pip3 to use. pip needs to be installed. Signed-off-by: Kyr Shatskyy --- diff --git a/teuthology/provision/downburst.py b/teuthology/provision/downburst.py index 6f456107c..d12ff0c81 100644 --- a/teuthology/provision/downburst.py +++ b/teuthology/provision/downburst.py @@ -265,6 +265,8 @@ class Downburst(object): # to install 'python' to get python2.7, which ansible needs if os_type in ('ubuntu', 'fedora'): user_info['packages'].append('python') + if os_type in ('centos'): + user_info['packages'].append('python3-pip') user_fd = tempfile.NamedTemporaryFile(delete=False, mode='wt') user_str = "#cloud-config\n" + yaml.safe_dump(user_info) user_fd.write(user_str)