STX-Openstack: Unable to build images with Antelope versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Unassigned |
Bug Description
Brief Description
-----------------
During the STX-Openstack upversion (story 2010715: https:/
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:/
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.
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 |
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 |