Comment 2 for bug 2043390

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-armada-app (master)

Reviewed: https://review.opendev.org/c/starlingx/openstack-armada-app/+/900812
Committed: https://opendev.org/starlingx/openstack-armada-app/commit/dd70c154bf4628d49d97ad56528f94a0823402ca
Submitter: "Zuul (22348)"
Branch: master

commit dd70c154bf4628d49d97ad56528f94a0823402ca
Author: Lucas de Ataides <email address hidden>
Date: Mon Nov 13 14:14:13 2023 -0300

    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 <email address hidden>