From 2a84c23b89e2e2ea8251924f7132524fc6a94717 Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Sat, 5 Apr 2025 18:34:13 +0200 Subject: [PATCH] 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 --- teuthology/provision/downburst.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/provision/downburst.py b/teuthology/provision/downburst.py index 6f456107cd..d12ff0c812 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) -- 2.39.5