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

UBI: registry.access.redhat.com/ubi8:latest for ppc64le has no link from /etc/rhsm-host -> /run/secrets/rhsm

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • rhel-8.8.0.z
    • ubi8-container
    • None
    • ubi8:8.8-1052
    • None
    • None
    • rhel-container-tools
    • ssg_subscription_management
    • None
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • ppc64le
    • None

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

      Entitlement sharing from a rhel8 ppc64le system to image registry.access.redhat.com/ubi8:latest is currently failing.  The cause for the failure appears to be a missing link from /etc/rhsm-host -> /run/secrets/rhsm

      The currently built image for registry.access.redhat.com/ubi8:latest for ppc64le appears to have been built with a missing link from from /etc/rhsm-host -> /run/secrets/rhsm.

      Below are steps comparing the latest images for ubi7 ubi8 ubi9 on ppc64le and you will see the difference.

      Please re-assign this issue to the correct component.

      Please provide the package NVR for which bug is seen:

      registry.access.redhat.com/ubi8:latest  on ppc64le

      [root@ibm-p9z-23-lp6 ~]# cat /etc/redhat-release 
      Red Hat Enterprise Linux release 8.9 Beta (Ootpa)
      [root@ibm-p9z-23-lp6 ~]# uname --machine
      ppc64le
      

      Steps to reproduce

      [root@ibm-p9z-23-lp6 ~]# podman rmi --all --force
      [root@ibm-p9z-23-lp6 ~]# 
      [root@ibm-p9z-23-lp6 ~]# podman pull registry.access.redhat.com/ubi7:latest --quiet
      42d6e83f9b131b1f11f787a342cce71aad88dc31870fd02f39e2b4cd5ef94cb2
      [root@ibm-p9z-23-lp6 ~]# podman pull registry.access.redhat.com/ubi8:latest --quiet
      64f449e28dab26b0c0127fc82b07dad7bb523537459077591c20b939364170a7
      [root@ibm-p9z-23-lp6 ~]# podman pull registry.access.redhat.com/ubi9:latest --quiet
      272e726ff5d1bbe044f26c1d53426b0efd505b0b1f825d16efaedf67d52a2d3b
      [root@ibm-p9z-23-lp6 ~]# 
      [root@ibm-p9z-23-lp6 ~]# 
      [root@ibm-p9z-23-lp6 ~]# podman run --rm registry.access.redhat.com/ubi7:latest ls -l /etc/rhsm-host
      lrwxrwxrwx. 1 root root 17 Aug 22 10:21 /etc/rhsm-host -> /run/secrets/rhsm
      [root@ibm-p9z-23-lp6 ~]# podman run --rm registry.access.redhat.com/ubi8:latest ls -l /etc/rhsm-host
      ls: cannot access '/etc/rhsm-host': No such file or directory
      [root@ibm-p9z-23-lp6 ~]# podman run --rm registry.access.redhat.com/ubi9:latest ls -l /etc/rhsm-host
      lrwxrwxrwx. 1 root root 17 Aug 23 05:53 /etc/rhsm-host -> /run/secrets/rhsm
      [root@ibm-p9z-23-lp6 ~]# 
      

      Expected results

      Similar to the ubi7 and ubi9 images for ppc64le, the ubi8:latest image needs a link from /etc/rhsm-host -> /run/secrets/rhsm

      Actual result

      cannot access '/etc/rhsm-host': No such file or directory as shown above

              rhn-support-jnovy Jindrich Novy
              jsefler John Sefler
              Jindrich Novy Jindrich Novy
              Container QE Container QE Container QE Container QE
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: