From b37f20b30af9257ebedc9a773ccf4e99419b4bd3 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Thu, 15 May 2025 09:16:18 +0530 Subject: [PATCH] Switch centos 9-stream jobs to run with python 3.11 With [1] py39 constraints drop can't run fips jobs on centos 9-stream or rocky9. As a workaround we can run with PYTHON3_VERSION: 3.11 in affected jobs until centos 10-stream support is ready[1] [1] https://review.opendev.org/c/openstack/requirements/+/948285 [2] https://review.opendev.org/c/openstack/devstack/+/937251 Closes-Bug: #2110744 Change-Id: I4e5bd3f643aec78b27b586de33e41871ff54539c --- zuul.d/integrated-gate.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zuul.d/integrated-gate.yaml b/zuul.d/integrated-gate.yaml index 2c70f9d415..b1da487dc4 100644 --- a/zuul.d/integrated-gate.yaml +++ b/zuul.d/integrated-gate.yaml @@ -115,6 +115,9 @@ description: | Base integration test on CentOS 9 stream vars: + devstack_localrc: + # TODO(ykarel) Remove this when moving to 10-stream + PYTHON3_VERSION: 3.11 # Required until bug/1949606 is resolved when using libvirt and QEMU # >=5.0.0 with a [libvirt]virt_type of qemu (TCG). configure_swap_size: 4096 @@ -186,6 +189,9 @@ and Glance related tests. This is meant to be run on Nova gate only. This version of the job also uses CentOS 9 stream. vars: + devstack_localrc: + # TODO(ykarel) Remove this when moving to 10-stream + PYTHON3_VERSION: 3.11 # Required until bug/1949606 is resolved when using libvirt and QEMU # >=5.0.0 with a [libvirt]virt_type of qemu (TCG). configure_swap_size: 4096 @@ -369,6 +375,9 @@ timeout: 10800 nodeset: devstack-single-node-centos-9-stream vars: + devstack_localrc: + # TODO(ykarel) Remove this when moving to 10-stream + PYTHON3_VERSION: 3.11 tox_envlist: full configure_swap_size: 4096 nslookup_target: 'opendev.org'