Skip to content

Commit 22fc03f

Browse files
committed
CI: Fix CentOS Stream 10 host configure job
The kayobe-overcloud-host-configure-centos10s job was failing with: Traceback (most recent call last): File "/tmp/ansible_pip_payload_zectmelk/ansible_pip_payload.zip/ansible/modules/pip.py", line 310, in <module> from packaging.requirements import Requirement as parse_requirement ModuleNotFoundError: No module named 'packaging' This is resolved by ensuring setuptools is installed, which is the case on other operating system images used in CI. Change-Id: I3f91bc05e46497e37b8cdcea1d283da5a7286a83 Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
1 parent ac156f4 commit 22fc03f

File tree

1 file changed

+4
-2
lines changed
  • playbooks/kayobe-overcloud-host-configure-base

1 file changed

+4
-2
lines changed

playbooks/kayobe-overcloud-host-configure-base/pre.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
vars:
44
testinfra_venv: ~/testinfra-venv
55
tasks:
6-
- name: Ensure python3 is installed
6+
- name: Ensure python3 and setuptools are installed
77
package:
8-
name: python3
8+
name:
9+
- python3
10+
- python3-setuptools
911
become: true
1012

1113
- name: Install Python3.12 on RHEL derivatives

0 commit comments

Comments
 (0)