Reviewed: https://review.opendev.org/c/openstack/tripleo-ci/+/845081 Committed: https://opendev.org/openstack/tripleo-ci/commit/6d7eaa96f73f348ecdd8b63c8a31ad64e2411119 Submitter: "Zuul (22348)" Branch: master
commit 6d7eaa96f73f348ecdd8b63c8a31ad64e2411119 Author: Chandan Kumar (raukadah) <email address hidden> Date: Wed Jun 8 09:36:15 2022 +0530
Install Python38 on CentOS-8
DIB is a branchless project and it gets pulled from master. https://review.opendev.org/c/openstack/diskimage-builder/+/836229 drops the py36 support and is breaking cs8 image build.
Installing Python38[1] will fix the issue.
It also drops python3-tripleoclient and python3-devel installation from main.yml. It is already taken care by release file.
py38 does not works well with Ansible on CentOS-8[2].
So we also set ensure_pip_virtualenv_command var to pip ansible module to explicitly use python_version based on need.
[1]. https://pkgs.org/download/python38 [2]. https://github.com/ansible/ansible/issues/67083
Closes-Bug: #1977888
Depends-On: https://review.opendev.org/c/openstack/diskimage-builder/+/845189
Signed-off-by: Chandan Kumar (raukadah) <email address hidden> Change-Id: Ib87eb7bbe6b523e3bf78c7f870cff96d5b5dd7e1
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ci/+/845081 /opendev. org/openstack/ tripleo- ci/commit/ 6d7eaa96f73f348 ecdd8b63c8a31ad 64e2411119
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6d7eaa96f73f348 ecdd8b63c8a31ad 64e2411119
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Wed Jun 8 09:36:15 2022 +0530
Install Python38 on CentOS-8
DIB is a branchless project and it gets pulled from master. /review. opendev. org/c/openstack /diskimage- builder/ +/836229
https:/
drops the py36 support and is breaking cs8 image build.
Installing Python38[1] will fix the issue.
It also drops python3- tripleoclient and python3-devel installation
from main.yml. It is already taken care by release file.
py38 does not works well with Ansible on CentOS-8[2].
So we also set ensure_ pip_virtualenv_ command var to pip ansible module
to explicitly use python_version based on need.
[1]. https:/ /pkgs.org/ download/ python38 /github. com/ansible/ ansible/ issues/ 67083
[2]. https:/
Closes-Bug: #1977888
Depends-On: https:/ /review. opendev. org/c/openstack /diskimage- builder/ +/845189
Signed-off-by: Chandan Kumar (raukadah) <email address hidden> e3bf78c7f870cff 96d5b5dd7e1
Change-Id: Ib87eb7bbe6b523