Skip to content

Fix OKD build for haproxy-router-haproxy28: pin to CentOS Stream 9 base#11759

Merged
ashwindasr merged 1 commit into
openshift-eng:openshift-5.0from
ashwindasr:cursor-00148-px16
Jul 9, 2026
Merged

Fix OKD build for haproxy-router-haproxy28: pin to CentOS Stream 9 base#11759
ashwindasr merged 1 commit into
openshift-eng:openshift-5.0from
ashwindasr:cursor-00148-px16

Conversation

@ashwindasr

Copy link
Copy Markdown
Contributor

Problem

The OKD Konflux build for haproxy-router-haproxy28 was failing with:

Problem: cannot install the best candidate for the job
  - nothing provides libpcre.so.1()(64bit) needed by haproxy28-2.8.18-2.rhaos4.23.el9.x86_64
  - nothing provides libpcreposix.so.0()(64bit) needed by haproxy28-2.8.18-2.rhaos4.23.el9.x86_64

This caused origin/scos-5.0:haproxy-router-haproxy28 to never be promoted, blocking the okd-scos-images CI check on openshift/cluster-ingress-operator#1499.

Root Cause

The image's from.member: openshift-enterprise-base-rhel9 resolves for OKD builds through that image's own okd.distgit.branch: rhaos-5.0-rhel-10 override, yielding a CentOS Stream 10 base image. The haproxy28 RPM from rhel-9-server-ose-rpms is 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_stream9 to mirror the pattern already used by the sibling images ose-haproxy-router-base and openshift-enterprise-haproxy-router, which build successfully for OKD using a CentOS Stream 9 base where el9 RPM dependencies are satisfied.

Made with Cursor

@openshift-ci

openshift-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign fgallott for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@openshift-ci

openshift-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@ashwindasr: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/art-pre-commit-check d486bc5 link false /test art-pre-commit-check

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.

…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
@ashwindasr ashwindasr force-pushed the cursor-00148-px16 branch from d486bc5 to b0e1be0 Compare July 9, 2026 12:46
ashwindasr added a commit to ashwindasr/ocp-build-data that referenced this pull request Jul 9, 2026
…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
@ashwindasr ashwindasr merged commit 0b02cd4 into openshift-eng:openshift-5.0 Jul 9, 2026
1 of 3 checks passed
@ashwindasr ashwindasr deleted the cursor-00148-px16 branch July 9, 2026 12:49
openshift-merge-bot Bot pushed a commit that referenced this pull request Jul 13, 2026
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant