Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 packages not present on rpms.adiscon.com for RHEL #144

Open
murphd40 opened this issue May 1, 2024 · 1 comment
Open

aarch64 packages not present on rpms.adiscon.com for RHEL #144

murphd40 opened this issue May 1, 2024 · 1 comment

Comments

@murphd40
Copy link

murphd40 commented May 1, 2024

I have been trying to install the latest rsyslog binary on UBI9 aarch64.

Here is the dockerfile I have been testing with:

FROM registry.access.redhat.com/ubi9

USER root

RUN curl -X GET http://rpms.adiscon.com/v8-stable/rsyslog-rhel.repo -o /etc/yum.repos.d/rsyslog-rhel.repo

RUN dnf install -y rsyslog

CMD ["/usr/sbin/rsyslogd", "-version"]

This works when I specify --platform=linux/amd64:

docker build -t rsyslog --platform=linux/amd64 . && docker run --rm rsyslog:latest
[+] Building 2.5s (7/7) FINISHED                                                                                                                                                                                                                                 docker:default
 => [internal] load .dockerignore                                                                                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                            0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                       0.0s
 => => transferring dockerfile: 262B                                                                                                                                                                                                                                       0.0s
 => [internal] load metadata for registry.access.redhat.com/ubi9:latest                                                                                                                                                                                                    2.5s
 => [1/3] FROM registry.access.redhat.com/ubi9@sha256:770cf07083e1c85ae69c25181a205b7cdef63c11b794c89b3b487d4670b4c328                                                                                                                                                     0.0s
 => CACHED [2/3] RUN curl -X GET http://rpms.adiscon.com/v8-stable/rsyslog-rhel.repo -o /etc/yum.repos.d/rsyslog-rhel.repo                                                                                                                                                 0.0s
 => CACHED [3/3] RUN dnf install -y rsyslog                                                                                                                                                                                                                                0.0s
 => exporting to image                                                                                                                                                                                                                                                     0.0s
 => => exporting layers                                                                                                                                                                                                                                                    0.0s
 => => writing image sha256:2febfe1d539721225ebdf7a213eb8dc35e7712ece2b4e771162033f13fd112df                                                                                                                                                                               0.0s
 => => naming to docker.io/library/rsyslog                                                                                                                                                                                                                                 0.0s
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
rsyslogd 8.2404.0: running as pid 1, enabling container-specific defaults, press ctl-c to terminate rsyslog
rsyslogd  8.2404.0 (aka 2024.04) compiled with:
	PLATFORM:				x86_64-redhat-linux-gnu
	PLATFORM (lsb_release -d):
	FEATURE_REGEXP:				Yes
	GSSAPI Kerberos 5 support:		Yes
	FEATURE_DEBUG (debug build, slow code):	No
	32bit Atomic operations supported:	Yes
	64bit Atomic operations supported:	Yes
	memory allocator:			system default
	Runtime Instrumentation (slow code):	No
	uuid support:				Yes
	systemd support:			Yes
	Config file:				/etc/rsyslog.conf
	PID file:				/var/run/syslogd.pid
	Number of Bits in RainerScript integers: 64

See https://www.rsyslog.com for more information.

However it fails when I specify --platform=linux/arm64:

docker build -t rsyslog --platform=linux/arm64 . && docker run --rm rsyslog:latest
[+] Building 4.2s (6/6) FINISHED                                                                                                                                                                                                                                 docker:default
 => [internal] load .dockerignore                                                                                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                            0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                       0.0s
 => => transferring dockerfile: 262B                                                                                                                                                                                                                                       0.0s
 => [internal] load metadata for registry.access.redhat.com/ubi9:latest                                                                                                                                                                                                    0.4s
 => CACHED [1/3] FROM registry.access.redhat.com/ubi9@sha256:770cf07083e1c85ae69c25181a205b7cdef63c11b794c89b3b487d4670b4c328                                                                                                                                              0.0s
 => [2/3] RUN curl -X GET http://rpms.adiscon.com/v8-stable/rsyslog-rhel.repo -o /etc/yum.repos.d/rsyslog-rhel.repo                                                                                                                                                        1.6s
 => ERROR [3/3] RUN dnf install -y rsyslog                                                                                                                                                                                                                                 2.2s
------
 > [3/3] RUN dnf install -y rsyslog:
0.559 Updating Subscription Management repositories.
0.559 Unable to read consumer identity
0.562
0.562 This system is not registered with an entitlement server. You can use subscription-manager to register.
0.562
2.145 Errors during downloading metadata for repository 'rsyslog_v8':
2.145   - Status code: 404 for http://rpms.adiscon.com/v8-stable/rhel-9/aarch64/repodata/repomd.xml (IP: 45.55.202.239)
2.146 Adiscon RHEL-9 - local packages for aarch64     179  B/s | 278  B     00:01
2.168 Error: Failed to download metadata for repo 'rsyslog_v8': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
------
Dockerfile:7
--------------------
   5 |     RUN curl -X GET http://rpms.adiscon.com/v8-stable/rsyslog-rhel.repo -o /etc/yum.repos.d/rsyslog-rhel.repo
   6 |
   7 | >>> RUN dnf install -y rsyslog
   8 |
   9 |     CMD ["/usr/sbin/rsyslogd", "-version"]
--------------------
ERROR: failed to solve: process "/bin/sh -c dnf install -y rsyslog" did not complete successfully: exit code: 1

Status code: 404 for http://rpms.adiscon.com/v8-stable/rhel-9/aarch64/repodata/repomd.xml

Is this expected? If so, what are the alternatives? TIA

@murphd40 murphd40 changed the title aarch64 packages not present on rpms.adiscon.com aarch64 packages not present on rpms.adiscon.com for RHEL May 1, 2024
@alorbach
Copy link
Member

Currently we only support the x86_64/ architecture.

Creating and maintaining aarch64 packages involves a significant amount of work and time. This process includes setting up the necessary build environments, ensuring compatibility, rigorous testing, and ongoing maintenance to keep the packages up-to-date with the latest features and security updates.

If there is real demand we could perhaps look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants