STX-Openstack: Unable to build images with Antelope versions

Bug #2027616 reported by Romulo Jose Lyra Leite
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Unassigned

Bug Description

Brief Description
-----------------
During the STX-Openstack upversion (story 2010715: https://storyboard.openstack.org/#!/story/2010715),
it was found that multiple upversions on python dependencies will be necessary as the build env is limited by the upper-constraints which is still based on ussuri.

Severity
--------
Critical: Images fail to build

Steps to Reproduce
------------------
On the build container, change any openstack image PROJECT_REF to stable/2023.1 and than build the stx-debian base image, wheels tarball and try to build the image. (e.g. https://review.opendev.org/c/starlingx/openstack-armada-app/+/888316)

Expected Behavior
------------------
The image builds successfully

Actual Behavior
----------------
The image fails to build due to dependencies conflicts.

Reproducibility
---------------
100% reproducible

System Configuration
--------------------
Does not Apply

Branch/Pull Time/Commit
-----------------------
Master

Timestamp/Logs
--------------

This issue is found on every image with packages such as: ddt,oslo.log,oslo.messaging,oslo.policy,oslo.upgradecheck,oslo.utils,python-neutronclient,croniter,sqlalchemy,pbr,pecan,prometheus-client, etc

An example with pecan while trying to build the openstack-heat image:

(after changing the upper-constraints)

ERROR: Cannot install openstack-heat because these package versions have conflicting dependencies.

The conflict is caused by:
neutron-lib 2.3.0 depends on pecan!=1.0.2, !=1.0.3, !=1.0.4, !=1.2 and >=1.0.0
    The user requested (constraint) pecan===1.4.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Test Activity
-------------
Build

Workaround
----------
Change the upper-constraints and manually remove base wheels from build env.

tags: added: stx.bu stx.distro.openstack
tags: added: stx.build
removed: stx.bu
tags: added: stx.9.0
Changed in starlingx:
status: New → Fix Released
Ghada Khalil (gkhalil)
summary: - STX-Openstack: Unable to build images with Antelope versions Edit
+ STX-Openstack: Unable to build images with Antelope versions
Changed in starlingx:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.