From dd70c154bf4628d49d97ad56528f94a0823402ca Mon Sep 17 00:00:00 2001 From: Lucas de Ataides Date: Mon, 13 Nov 2023 14:14:13 -0300 Subject: [PATCH] Move python2 to python3 in DIST_PACKAGES The change [1] updates the version of the libpython2.7-minimal, libpython2.7-stdlib, python2.7 and python2.7-minimal packages, which caused the build for the stx-openstackclients image to fail, as it requires the `python-dev` package [2]. Since Python 2 is not used by any Openstack project anymore, this package wasn't doing anything, so it's safe to upgrade it to the Python 3 version of the same package. This not only solves the build issue but keeps the image coherent due to the reason mentioned in the beginning of this paragraph. [1] https://opendev.org/starlingx/tools/commit/55eebf2d6a2d0acfe7127431ca8395d86b629846 [2] https://opendev.org/starlingx/openstack-armada-app/src/branch/master/upstream/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image#L17 Test Plan: PASS: Build stx-debian base image PASS: Build stx-openstackclients image PASS: Upload / apply stx-openstack PASS: Manually upload built image to the system's registry and perform helm-override to use it in the clients containers PASS: Issue Openstack commands for all CLIs and verify they're working: Cinder, Glance, Heat, Neutron, Nova and Openstack Closes-Bug: 2043390 Change-Id: Id8d3b3572eefd7e8b0cdbd4b8c3129728647ede7 Signed-off-by: Lucas de Ataides --- .../debian/stx-openstackclient.stable_docker_image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upstream/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image b/upstream/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image index 22af7db2..2a272785 100644 --- a/upstream/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image +++ b/upstream/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image @@ -14,7 +14,7 @@ DIST_PACKAGES=" bash-completion \ libffi-dev \ openssl \ - python-dev \ + python3-dev \ python3-aodhclient \ python3-barbicanclient \ python3-cinderclient \