sysinv: build fails - missing wheels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Chuck Short |
Bug Description
Brief Description
-----------------
The sysinv package breaks docker image builds because it needs wheels that are not in the wheels tarball. Affects both master and 5.0 branches.
Problem introduced by this commit: https:/
Gerrit review: https:/
Severity
--------
Provide the severity of the defect.
Critical
Steps to Reproduce
------------------
# build packages, incl sysnv-wheel
build-pkgs
# build upstream wheels
$MY_REPO/
--os centos \
--os-version 7.5.1804 \
--stream stable \
--version master-stable \
--user $USER
# build py2 wheel tarball
$MY_REPO/
--os centos \
--os-version 7.5.1804 \
--stream stable \
--python2
# build any image that uses py2 wheels tarball, eg stx-keystone-
$MY_REPO/
--prefix wrcp \
--os centos \
--stream stable \
--version TEST \
--base $USER/stx-
--wheels-py2 http://
--user $USER \
--only stx-keystone-
Expected Behavior
------------------
build-stx-images.sh should succeed
Actual Behavior
----------------
build-stx-images.sh fails
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master/Apr 28, 2021 2:51:15 AM EDT
Last Pass
---------
master/Apr 21, 2021 12:01:01 AM EDT
Timestamp/Logs
--------------
From: http://
[...]
Running: docker build /localdisk/
[...]
+ pip install --no-cache-dir --only-binary :all: --no-compile -c /tmp/wheels/
[...]
Downloading psycopg2_
ERROR: Could not find a version that satisfies the requirement migrate (from sysinv===1.0->-c /tmp/wheels/
ERROR: No matching distribution found for migrate (from sysinv===1.0->-c /tmp/wheels/
The command '/bin/sh -c /opt/loci/
Command (docker) failed, attempt 1 of 5.
Test Activity
-------------
Other - Build
Workaround
----------
None
Changed in starlingx: | |
importance: | Undecided → Critical |
status: | New → Triaged |
assignee: | nobody → Chuck Short (zulcss) |
tags: |
added: in-r-stx50 removed: stx.cherrypickneeded |
Comment by Don Penney:
"so by updating the requirements.txt here, [commit author] changed what the wheel needed ... and since pypi.org only has a source tarball, not a wheel, it will need to be added to the wheels.cfg in order to build the wheel to meet the requirement"