build-iso failure due to missing repodata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Scott Little |
Bug Description
Brief Description
-----------------
Build-iso started failing due to the lack of repodata in $MY_REPO/
Severity
--------
Critical
Steps to Reproduce
------------------
Flock layer build ...
generate-
...
build-iso
Expected Behavior
------------------
1) generate-
2) build-iso passes
Actual Behavior
----------------
1) generate-
2) build-iso failes
Reproducibility
---------------
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
Oct 26 2020
stx-tools: 44cda9d881f4d38
Last Pass
---------
Oct 25 2020
Timestamp/Logs
--------------
03:26:58 failure: repodata/repomd.xml from StxCentos7Distr
03:26:58 file://
...
03:27:10 Could not resolve packages: rt-setup
03:27:10 Error -- could not install all explicitly listed packages
Test Activity
-------------
build
Workaround
----------
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
Changed in starlingx: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/760175 /git.openstack. org/cgit/ starlingx/ tools/commit/ ?id=33648c9b348 80a1184ca489825 18a16ecdf16105
Committed: https:/
Submitter: Zuul
Branch: master
commit 33648c9b34880a1 184ca48982518a1 6ecdf16105
Author: Scott Little <email address hidden>
Date: Wed Oct 28 12:00:34 2020 -0400
build-iso failure due to missing repodata
Build-iso started failing due to the lack of centos- repo/rt/ Binary/ .
repodata in $MY_REPO/
The problem was traced back to generate- centos- repo.sh
and an unintended modification of the dest_dir global
variable. The unintended modification was due to
the new function copy_with_backup failing to use
'local' on it's internal variables.
Closes-bug: 1901920 27af9e01a77b287 849a1e3981b
Change-Id: If1c39285185523
Signed-off-by: Scott Little <email address hidden>