Skip to content

OKD-387: Switch to released (mirror) repos for SCOS builds - #1947

Merged
dustymabe merged 2 commits into
openshift:release-4.22from
pskrbasu:fix-c10s-compose-to-mirror-4.22
Jul 27, 2026
Merged

OKD-387: Switch to released (mirror) repos for SCOS builds#1947
dustymabe merged 2 commits into
openshift:release-4.22from
pskrbasu:fix-c10s-compose-to-mirror-4.22

Conversation

@pskrbasu

Copy link
Copy Markdown

Summary

  • Cherry-pick of 64af4d8 to release-4.22
  • Switches c10s.repo URLs from composes.stream.centos.org to mirror.stream.centos.org
  • Removes c10s-mirror.repo (no longer needed since c10s.repo now 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.

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
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 15, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 15, 2026

Copy link
Copy Markdown

@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.

Details

In response to this:

Summary

  • Cherry-pick of 64af4d8 to release-4.22
  • Switches c10s.repo URLs from composes.stream.centos.org to mirror.stream.centos.org
  • Removes c10s-mirror.repo (no longer needed since c10s.repo now 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.

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.

@ausil

ausil commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2026
@Prashanth684

Copy link
Copy Markdown
Contributor

/cc @dustymabe

@openshift-ci
openshift-ci Bot requested a review from dustymabe July 16, 2026 16:25
@travier

travier commented Jul 27, 2026

Copy link
Copy Markdown
Member

/lgtm
/retest

@travier

travier commented Jul 27, 2026

Copy link
Copy Markdown
Member
Discovered rpm-md repositories:
- c10s-baseos
- c10s-appstream
- c10s-nfv
- c10s-rt
- c10s-extras-common
- c10s-sig-nfv
- c10s-sig-virtualization
- c10s-sig-cloud-okd
- c9s-baseos-mirror
- c9s-appstream-mirror
- c9s-nfv-mirror
- c9s-rt-mirror
- c9s-baseos
- c9s-appstream
- c9s-nfv
- c9s-rt
- c9s-extras-common
- c9s-sig-nfv
- c9s-sig-virtualization
- c9s-sig-cloud-okd
- rhel-9.8-baseos
- rhel-9.8-appstream
- rhel-9.8-nfv
- rhel-9.8-highavailability
- rhel-9.8-fast-datapath
- rhel-98-codeready-builder-rpms
- rhel-9.8-server-ose-4.22
- rhel-9.8-early-kernel
- rhel-9.8-baseos-ppc64le
- rhel-9.8-appstream-ppc64le
- rhel-9.8-fast-datapath-ppc64le
- rhel-9.8-server-ose-4.22-ppc64le
- rhel-98-codeready-builder-rpms-ppc64le
- rhel-9.8-baseos-s390x
- rhel-9.8-appstream-s390x
- rhel-9.8-fast-datapath-s390x
- rhel-9.8-server-ose-4.22-s390x
- rhel-98-codeready-builder-rpms-s390x
- rhel-9.8-baseos-aarch64
- rhel-9.8-appstream-aarch64
- rhel-9.8-fast-datapath-aarch64
- rhel-9.8-server-ose-4.22-aarch64
- rhel-98-codeready-builder-rpms-aarch64
- rhel-10.2-baseos
- rhel-10.2-appstream
- rhel-10.2-fast-datapath
- rhel-10.2-nfv
- rhel-10.2-highavailability
- rhel-10.2-server-ose-4.22
- rhel-10.2-early-kernel
error: Unknown rpm-md repository: c10s-baseos-mirror

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 27, 2026
@travier

travier commented Jul 27, 2026

Copy link
Copy Markdown
Member

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.
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 27, 2026
@pskrbasu

Copy link
Copy Markdown
Author

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 -mirror variants. Could you please take another look?

@openshift-ci

openshift-ci Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

@pskrbasu: all tests passed!

Full PR test history. Your PR dashboard.

Details

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

@dustymabe dustymabe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@dustymabe dustymabe added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Jul 27, 2026
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 27, 2026
@openshift-ci

openshift-ci Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dustymabe

Copy link
Copy Markdown
Member

/verified by OKD

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jul 27, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@dustymabe: This PR has been marked as verified by OKD.

Details

In response to this:

/verified by OKD

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.

@dustymabe
dustymabe merged commit 23aec69 into openshift:release-4.22 Jul 27, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants