Uploaded image for project: 'Red Hat Enterprise Linux AI'
  1. Red Hat Enterprise Linux AI
  2. RHELAI-3489

Update containers to RHELAI 1.5 RPMs and official repo ids

XMLWordPrintable

    • Update containers to RHELAI 1.5 RPMs and official repo ids
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • Done
    • 0% To Do, 0% In Progress, 100% Done
    • Approved

      All containers must be ready by 2025-04-15. We have agreed to release RC images on 2025-04-16. This epic should be completed by 2025-04-01, so we have some time to verify the release proccess, do internal testing, and address issues.

      Goal:

      Update all bootc and instructlab application containers

      • to use only 9.4 EUS repositories
      • to use RHELAI 1.5 RPMs from production
      • to use official repo ids

      Acceptance Criteria:

      • all containers use RHEL AI 1.5 production repositories
      • install new mandatory RPMs and remove RPMs that are no longer shipped in errata
      • all containers have EUS repos for releasever 9.4 enabled
      • all non-EUS repositories for BaseOS, AppStream, and CRB are disabled. The repos are mutually exclusive with EUS variants, see https://access.redhat.com/articles/rhel-eus
      • for Red Hat-owned RPM repositories, the repo id must be in https://security.access.redhat.com/data/metrics/repository-to-cpe.json
      • for third party / vendor repositories, the repo id must follow the naming convention from AIPCC-231. This applies to AMD GPU, AMD ROCm, Intel Gaudi/Habanalabs, and NVIDIA CUDA repo ids.
      • third party RPMs must be installed from internal Pulp mirrors https://internal.console.redhat.com/api/pulp-content/rhel-ai/
      • RPMDB and DNF does not list other repo ids than "System" or allowed repo ids
      • final image does not contain Red_Hat_IT_Root_CA.crt CA certificate or references to internal hostnames and nightly composes
      • images use same CUDA, Gaudi, and ROCm version + settings as the builder repo (https://gitlab.com/redhat/rhel-ai/wheels/builder/-/blob/main/build-args)
      • InstructLab images use latest wheel release. The wheel releases are updated to the Renovate and the platform engineering bot. If you see a "update all dependencies (main)" MR, then cherry-pick or copy the changes into your branch.
         
        # dnf repolist --enabled
        repo id                                      repo name
        codeready-builder-for-rhel-9-x86_64-eus-rpms Red Hat CodeReady Linux Builder for RHEL 9 x86_64 - Extended Update Support (RPMs)
        rhel-9-for-x86_64-appstream-eus-rpms         Red Hat Enterprise Linux 9 for x86_64 - AppStream - Extended Update Support (RPMs)
        rhel-9-for-x86_64-baseos-eus-rpms            Red Hat Enterprise Linux 9 for x86_64 - BaseOS - Extended Update Support (RPMs)
        rhelai-1.5-for-rhel-9-x86_64-rpms            Red Hat Enterprise Linux AI (1.5) for RHEL 9 x86_64 (RPMs)
        ...

         

       

      # dnf list --installed | sed -n 's/.*@\(.*\)/\1/p' | sort -u
      System                                      
      codeready-builder-for-rhel-9-x86_64-eus-rpms
      rhel-9-for-x86_64-appstream-eus-rpms        
      rhel-9-for-x86_64-baseos-eus-rpms           
      rhelai-1.5-for-rhel-9-x86_64-rpms
      ...

       

      # grep stage /etc/yum.repos.d/*.repo
      (no matches)
      # grep corp.redhat.com /etc/yum.repos.d/*.repo
      (no matches)
      # grep nightly /etc/yum.repos.d/*.repo
      (no matches)
      # dnf config-manager --dump-variables | grep releasever
      releasever = 9.4
      

      Open questions:

      • AIPCC-231 does not define repo ids for vendor repositories, yet.

      RPMs
      Remove packages:

      • cxxopts (devel only)
      • utf8cpp (devel only)
      • gflags (not needed)
      • llvm14-libs (llvmlite 0.44 is now statically linked with llvm15-libs)
      • opencv (no longer built and needed)
      • xsimd (devel only)

      New packages:

      • hdf5 (was a dependency of OpenCV, now needed for h5py)

              cheimes@redhat.com Christian Heimes
              cheimes@redhat.com Christian Heimes
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: