Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-135505

Inconsistent CodeReady Builder repository ID definition in ubi10/ubi-minimal compared to ubi and ubi-init

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0, rhel-10.1
    • None
    • None
    • None
    • None
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      I was checking the enabled repositories within the ubi10/ubi-minimal container image. I expected the repository ID for "CodeReady Builder" to follow the standard naming convention used in ubi10/ubi and ubi10/ubi-init images, which aligns with Red Hat's content delivery structure (e.g., codeready-builder-for-ubi-10-x86_64-rpms).

      What is the impact of this issue to you?

      This inconsistency breaks automation scripts and configuration management tools that rely on uniform repository IDs across different UBI image flavors. We have to maintain separate logic/configurations specifically for ubi-minimal because the repo ID differs from the standard ubi image.

      Please provide the package NVR for which the bug is seen:

      registry.access.redhat.com/ubi10/ubi-minimal:latest

      How reproducible is this bug?:

      100% (Always)

      Steps to reproduce

      1. Run dnf repolist on the standard ubi10/ubi image to see the standard repo ID. Command: podman run --rm registry.access.redhat.com/ubi10/ubi dnf repolist --all | grep codeready
      2. Run microdnf repolist on the ubi10/ubi-minimal image. Command: podman run --rm registry.access.redhat.com/ubi10/ubi-minimal microdnf repolist --all | grep codeready
      3. Compare the repository IDs output by both commands.

      Expected results

      The ubi10/ubi-minimal image should define the CodeReady Builder repository using the standard ID: codeready-builder-for-ubi-10-x86_64-rpms

      This matches the definition in ubi10/ubi and the standard Red Hat UBI RPM packages definition (Reference: https://access.redhat.com/articles/4238681).

      Actual results

      The ubi10/ubi-minimal image uses a different, inconsistent repository ID: ubi-10-codeready-builder-rpms

      $ podman run --rm registry.access.redhat.com/ubi10/ubi-minimal microdnf repolist --all | grep codeready
      codeready-builder-for-rhel-10-x86_64-debug-rpms                Red Hat CodeReady Linux Builder for RHEL 10 x86_64 (Debug RPMs)                                          disabled
      codeready-builder-for-rhel-10-x86_64-eus-debug-rpms            Red Hat CodeReady Linux Builder for RHEL 10 x86_64 - Extended Update Support (Debug RPMs)                disabled
      codeready-builder-for-rhel-10-x86_64-eus-rpms                  Red Hat CodeReady Linux Builder for RHEL 10 x86_64 - Extended Update Support (RPMs)                      disabled
      codeready-builder-for-rhel-10-x86_64-eus-source-rpms           Red Hat CodeReady Linux Builder for RHEL 10 x86_64 - Extended Update Support (Source RPMs)               disabled
      codeready-builder-for-rhel-10-x86_64-rpms                      Red Hat CodeReady Linux Builder for RHEL 10 x86_64 (RPMs)                                                disabled
      codeready-builder-for-rhel-10-x86_64-source-rpms               Red Hat CodeReady Linux Builder for RHEL 10 x86_64 (Source RPMs)                                         disabled
      ubi-10-codeready-builder-debug-rpms                            Red Hat Universal Base Image 10 (Debug RPMs) - CodeReady Builder                                         disabled
      ubi-10-codeready-builder-rpms                                  Red Hat Universal Base Image 10 (RPMs) - CodeReady Builder                                                enabled
      ubi-10-codeready-builder-source-rpms                           Red Hat Universal Base Image 10 (Source RPMs) - CodeReady Builder                                        disabled
      $ podman run --rm registry.access.redhat.com/ubi10/ubi dnf repolist --all | grep codeready
      codeready-builder-for-rhel-10-x86_64-debug-rpms                Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-eus-debug-rpms            Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-eus-rpms                  Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-eus-source-rpms           Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-rpms                      Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-source-rpms               Red Hat  disabled
      codeready-builder-for-ubi-10-x86_64-debug-rpms                 Red Hat  disabled
      codeready-builder-for-ubi-10-x86_64-rpms                       Red Hat  enabled
      codeready-builder-for-ubi-10-x86_64-source-rpms                Red Hat  disabled
      $ podman run --rm registry.access.redhat.com/ubi10/ubi-init dnf repolist --all | grep codeready
      codeready-builder-for-rhel-10-x86_64-debug-rpms                Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-eus-debug-rpms            Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-eus-rpms                  Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-eus-source-rpms           Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-rpms                      Red Hat  disabled
      codeready-builder-for-rhel-10-x86_64-source-rpms               Red Hat  disabled
      codeready-builder-for-ubi-10-x86_64-debug-rpms                 Red Hat  disabled
      codeready-builder-for-ubi-10-x86_64-rpms                       Red Hat  enabled
      codeready-builder-for-ubi-10-x86_64-source-rpms                Red Hat  disabled 

              mzidek@redhat.com Michal Židek
              tnk4on Shion Tanaka
              Michal Židek Michal Židek
              Container Runtime Bugs Bot Container Runtime Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: