redhat-developer / podman-desktop-redhat-account-ext

Podman Desktop Red Hat Accoint Extension
Apache License 2.0
3 stars 9 forks source link

The SSO plugin fails when building images for different architectures #90

Closed mrguitar closed 3 months ago

mrguitar commented 3 months ago

I'm on a Mac and building for x86 (because the rest of the world live here for now). The developer subscriptions includes access to both aarch64 & x86_64 content, however I believe sub-man is only accessing the native arch content w/ the included entitlement.

STEP 3/5: RUN dnf install -y cockpit cockpit-podman cockpit-pcp 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.

Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d". Error:building at STEP "RUN dnf install -y cockpit cockpit-podman cockpit-pcp": while running runtime: exit status 1

multi-arch

Everything works as expected when I build the container using native aarch64.

vrothberg commented 3 months ago

Thanks for reporting, @mrguitar! This cross-arch builds aren't supported on RHEL via qemu I guess we're entering new territory running on FCOS.

We need to test this workflow, Cc: @jeffmaury @deboer-tim

vrothberg commented 3 months ago

This will be moved into Jira.

mohan-shash commented 3 months ago

https://issues.redhat.com/browse/BIFROST-273