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

rootless podman container can't resolve https://cdn-ubi.redhat.com with a custom network

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • rhel-9.3.0
    • podman
    • None
    • None
    • Moderate
    • 1
    • sst_container_tools
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • RUN 255
    • None
    • None
    • None

      Issue : rootless podman container can't resolve  https://cdn-ubi.redhat.com when using a custom network

      Observations : 

      • Issue is with RHEL 9.3, podman-4.6.1 and with ubi9 image in customer's environment
      • Could not reproduce in our test environment
      • works expected with ubi8 image on  RHEL 9.3, podman-4.6.1
      • worked expected with podman to 4.4.1

       

      Reproducer Steps : 

       
      $ podman network create test-network
      test-network
      $ podman network ls
      NETWORK ID NAME DRIVER
      2f259bab93aa podman bridge
      dbeedca84a3f test-network bridge

      $ podman run -it --rm --network=test-network registry.access.redhat.com/ubi9:9.3-1361.1699548029 /bin/bash
      [root@8e7e98687352 /]# dnf update
      Updating Subscription Management repositories.
      Unable to read consumer identity
      subscription-manager is operating in container mode.

      This system is not registered with an entitlement server. You can use subscription-manager to register.

      Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 9.3 MB/s | 16 MB 00:01
      Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 12 MB/s | 28 MB 00:02
      Red Hat Universal Base Image 9 (RPMs) - BaseOS 23 B/s | 124 B 00:05
      Errors during downloading metadata for repository 'ubi-9-baseos-rpms':

            pholzing@redhat.com Paul Holzinger
            rhn-support-snangare Sameer Nangare
            Container Runtime Eng Bot Container Runtime Eng Bot
            Container Runtime Bugs Bot Container Runtime Bugs Bot
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: