Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-6375

[Azure]aarch64 images contain x86_64 RHUI package

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None

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

      Azure vhd aarch64 images contain x86_64 RHUI package. Both 8.10 and 9.6 images has this issue.

       

      [root@wala912172arm12180810-vm1 ~]# rpm -qa|grep rhui
      rhui-azure-rhel9-2.3-656.noarch 
      [root@wala912172arm12180810-vm1 ~]# arch
      aarch64
      [root@wala912172arm12180810-vm1 ~]# cat /etc/yum.repos.d/rh-cloud-base.repo 
      [codeready-builder-for-rhel-9-x86_64-rhui-debug-rpms] 
      name=Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (Debug RPMs) from RHUI 
      baseurl=https://rhui4-1.microsoft.com/pulp/repos/content/dist/rhel9/rhui/$releasever/x86_64/codeready-builder/debug 
      enabled=0 
      gpgcheck=1 
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 
      sslverify=1 
      sslclientcert=/etc/pki/rhui/product/content-base.crt 
      sslclientkey=/etc/pki/rhui/private/key-base.pem 
      ...

      RHEL-8.10:

       

      [root@wala810imagebuilder12180413-vm1 ~]# rpm -qa|grep rhui
      rhui-azure-rhel8-2.3-656.noarch
      [root@wala810imagebuilder12180413-vm1 ~]# yum repolist
      repo id                                                                                                            repo name
      ansible-2-for-rhel-8-x86_64-rhui-rpms                                                                              Red Hat Ansible Engine 2 for RHEL 8 x86_64 (RPMs) from RHUI
      codeready-builder-for-rhel-8-x86_64-rhui-rpms                                                                      Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) from RHUI
      rhel-8-for-x86_64-appstream-rhui-rpms                                                                              Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs)
      rhel-8-for-x86_64-baseos-rhui-rpms                                                                                 Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs)
      rhel-8-for-x86_64-supplementary-rhui-rpms                                                                          Red Hat Enterprise Linux 8 for x86_64 - Supplementary (RPMs) from RHUI
      rhui-microsoft-azure-rhel8                                                                                         Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8)
      [root@wala810imagebuilder12180413-vm1 ~]# arch
      aarch64

      I checked the Azure Marketplace aarch64 images. The RHUI package should be like: rhui-azure-rhel8-arm64-2.2-353.noarch

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

      rhel-azure-9.6-20241217.2.aarch64.vhd.xz
      rhel-azure-8.10-1574.aarch64.vhd.xz

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Download an aarch64 vhd image from internal compose, and upload it to Azure. Create a gallery image version for it.
      2. Start a VM. Check RHUI package: rpm -qa|grep rhui

      Expected results

      Should container ARM64 RHUI package like:

      rhui-azure-rhel8-arm64-2.2-353.noarch

      Actual results

      Contains x86_64 RHUI package:

      rhui-azure-rhel8-2.3-656.noarch 

              Unassigned Unassigned
              yuxisun@redhat.com Yuxin Sun
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: