From 8138f1d84377a8420b92375c80baad4e72b4aafb Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 9 Oct 2019 02:43:22 +0000 Subject: [PATCH] zuul-worker: no selinux python2 libs on CentOS 8 There are no libselinux bindings for Python 2 on CentOS 8 [1]. The Python 3 packages are there as part of the base install. These are required for Ansible to run correctly. We will need to set ansible_python_interpreter to python3 for CentOS 8 until auto-detection is complete with [2]. [1] https://bugs.centos.org/view.php?id=16458 [2] https://review.opendev.org/682797 Change-Id: I52eef3069fa8699cc72b423d476c92b339600c23 --- nodepool/elements/zuul-worker/pkg-map | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nodepool/elements/zuul-worker/pkg-map b/nodepool/elements/zuul-worker/pkg-map index 3d880da053..d7d6fcbd4d 100644 --- a/nodepool/elements/zuul-worker/pkg-map +++ b/nodepool/elements/zuul-worker/pkg-map @@ -1,4 +1,11 @@ { + "release": { + "centos": { + "8": { + "libselinux-python": "" + } + } + }, "family": { "debian": { "apt-transport-https": "apt-transport-https",