OKD-387: Switch to released (mirror) repos for SCOS builds - #1947
Conversation
This is the openshift/os equivalent of [1] against rhel-coreos-config where we made the mirror repos the only ones we have defined to simplify versioning conflicts we have sometimes. [1] coreos/rhel-coreos-config@718d19e
|
@pskrbasu: This pull request references OKD-387 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/lgtm |
|
/cc @dustymabe |
|
/lgtm |
|
|
Extension file likely need an update: https://github.com/openshift/os/blob/release-4.22/extensions/centos-10.yaml |
The c10s-mirror.repo file was removed and c10s.repo now uses mirror URLs directly. Update extensions/centos-10.yaml to reference the base repo names instead of the removed -mirror variants.
|
Thanks @travier, updated extensions/centos-10.yaml to use the base repo names (c10s-baseos, c10s-appstream, c10s-nfv, c10s-rt) instead of the removed |
|
@pskrbasu: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ausil, dustymabe, pskrbasu, travier The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by OKD |
|
@dustymabe: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Summary
release-4.22c10s.repoURLs fromcomposes.stream.centos.orgtomirror.stream.centos.orgc10s-mirror.repo(no longer needed sincec10s.reponow uses the mirror URLs directly)The compose repos only carry the latest version of each package, which causes version conflicts (e.g. openssl-libs, NetworkManager) when the base SCOS image was built against older versions that get filtered out. The mirror repos carry multiple versions, allowing dnf to resolve compatible package sets.
This is needed for the SCOS 4.22 CI config fix in openshift/release#81863.