From 74a5bed896893ecd3bdedb100439f773af7c7f5e Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Wed, 17 Jun 2020 16:19:06 -0500 Subject: [PATCH] Ensure pip is installed locally Recent changes to the base nodepool images removed the system-wide installation of pip and virtualenv. As a result of this, some requirements-check jobs are failing with an error that pip could not be found. This adds the ensure-pip role as part of pre_tasks in our requirements-check playbook. Change-Id: Id4969156383545eb94462677e3321b89c1160b48 Signed-off-by: Sean McGinnis --- playbooks/requirements-check.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/playbooks/requirements-check.yaml b/playbooks/requirements-check.yaml index 08d1018171..e12491b816 100644 --- a/playbooks/requirements-check.yaml +++ b/playbooks/requirements-check.yaml @@ -1,4 +1,9 @@ - hosts: all + pre_tasks: + - name: Ensure pip + include_role: + name: ensure-pip + tasks: - name: Install openstack_requirements command: "pip3 install --user {{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}"