-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.5
-
No
-
None
-
rhel-sst-bootc
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
Unspecified
-
None
What were you trying to do that didn't work?
Trying to build a RHEL 9 container for bootc in a multi-arch (or just cross-arch) way. For example, building an x86_64 container while the host OS is running aarch64.
The host is registered with Red Hat and has an active subscription.
The container, however, cannot see any repository.
What is the impact of this issue to you?
Creating a multi-arch container for bootc isn't possible.
Please provide the package NVR for which the bug is seen:
N/A
How reproducible is this bug?:
100% of times
Steps to reproduce
See commands below for description and repro
# Host is running on aarch64 [alessandro@localhost ~]$ arch aarch64 # Host is registered with Red Hat and repos are enabled [alessandro@localhost ~]$ sudo dnf repolist Updating Subscription Management repositories. repo id repo name rhel-9-for-aarch64-appstream-rpms Red Hat Enterprise Linux 9 for ARM 64 - AppStream (RPMs) rhel-9-for-aarch64-baseos-rpms Red Hat Enterprise Linux 9 for ARM 64 - BaseOS (RPMs) # Running an aarch64 bootc container shows the repos [alessandro@localhost ~]$ podman run --rm -it --arch aarch64 registry.redhat.io/rhel9/rhel-bootc dnf repolist Updating Subscription Management repositories. subscription-manager is operating in container mode. repo id repo name rhel-9-for-aarch64-appstream-rpms Red Hat Enterprise Linux 9 for ARM 64 - AppStream (RPMs) rhel-9-for-aarch64-baseos-rpms Red Hat Enterprise Linux 9 for ARM 64 - BaseOS (RPMs) # Running an x86_64 bootc container shows no repo [alessandro@localhost ~]$ podman run --rm -it --arch x86_64 registry.redhat.io/rhel9/rhel-bootc dnf repolist Updating Subscription Management repositories. subscription-manager is operating in container mode. [alessandro@localhost ~]$
> Note: I tried manually adding the x86_64 repos on the host's `/etc/yum.repos.d/redhat.repo` file, and they were seen in the host but not in the container
Expected results
Container should see the repos
Actual results
Container doesn't see the repos, no software can be installed