Fix OKD build for haproxy-router-haproxy28: pin to CentOS Stream 9 base#11759
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@ashwindasr: The following test failed, say
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. |
…m 9 base The OKD build was failing because the image inherited an RHEL 10 (CentOS Stream 10) base through openshift-enterprise-base-rhel9's OKD override (okd.distgit.branch: rhaos-5.0-rhel-10). The haproxy28 RPM from rhel-9-server-ose-rpms is an el9 package that requires libpcre.so.1 (PCRE1), which was removed in RHEL/CentOS 10. Add okd.from.stream: centos_stream9 to match the pattern used by ose-haproxy-router-base and openshift-enterprise-haproxy-router, which successfully build for OKD using a CentOS Stream 9 base. Fixes: origin/scos-5.0:haproxy-router-haproxy28 missing from OKD imagestream Co-authored-by: Cursor <cursoragent@cursor.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
d486bc5 to
b0e1be0
Compare
…entOS Stream 9 base Without okd.from.stream: centos_stream9, the OKD build inherits a CentOS Stream 10 base through openshift-enterprise-base-rhel9's OKD override (okd.distgit.branch: rhaos-5.0-rhel-10). The haproxy32 RPM from rhel-9-server-ose-rpms is an el9 package that requires libpcre.so.1 (PCRE1), which was removed in CentOS/RHEL 10. Mirrors the fix applied to ose-haproxy-router-haproxy28 (openshift-eng#11759) and the pattern used by ose-haproxy-router-base. Co-authored-by: Cursor <cursoragent@cursor.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
* ART-21453: Add image config for ose-haproxy-router-haproxy32 Add new image configuration for ose-haproxy-router-haproxy32 to the OCP 5.0 build data. HAProxy 3.2 is being deployed as a sidecar of the router pod as part of OCPSTRAT-2943, mirroring the haproxy28 config added in ART-21452. Co-authored-by: Cursor <cursoragent@cursor.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED * ART-21453: fix delivery_repo_names to use -rhel9 suffix The Pyxis delivery repo is registered as openshift5/ose-haproxy-router-haproxy32-rhel9 (see pyxis-repo-configs), so delivery_repo_names must match. Co-authored-by: Cursor <cursoragent@cursor.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED * ART-21453: Fix OKD build for haproxy-router-haproxy32 by pinning to CentOS Stream 9 base Without okd.from.stream: centos_stream9, the OKD build inherits a CentOS Stream 10 base through openshift-enterprise-base-rhel9's OKD override (okd.distgit.branch: rhaos-5.0-rhel-10). The haproxy32 RPM from rhel-9-server-ose-rpms is an el9 package that requires libpcre.so.1 (PCRE1), which was removed in CentOS/RHEL 10. Mirrors the fix applied to ose-haproxy-router-haproxy28 (#11759) and the pattern used by ose-haproxy-router-base. Co-authored-by: Cursor <cursoragent@cursor.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
Problem
The OKD Konflux build for
haproxy-router-haproxy28was failing with:This caused
origin/scos-5.0:haproxy-router-haproxy28to never be promoted, blocking theokd-scos-imagesCI check on openshift/cluster-ingress-operator#1499.Root Cause
The image's
from.member: openshift-enterprise-base-rhel9resolves for OKD builds through that image's ownokd.distgit.branch: rhaos-5.0-rhel-10override, yielding a CentOS Stream 10 base image. Thehaproxy28RPM fromrhel-9-server-ose-rpmsis an el9 package that links against PCRE1 (libpcre.so.1), which was removed in CentOS/RHEL 10 (replaced by PCRE2 only).Fix
Add
okd.from.stream: centos_stream9to mirror the pattern already used by the sibling imagesose-haproxy-router-baseandopenshift-enterprise-haproxy-router, which build successfully for OKD using a CentOS Stream 9 base where el9 RPM dependencies are satisfied.Made with Cursor