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

DB2/Oracle/MS SQL dev services do not work on Linux on aarch64 #43375

Open
mjurc opened this issue Sep 18, 2024 · 9 comments
Open

DB2/Oracle/MS SQL dev services do not work on Linux on aarch64 #43375

mjurc opened this issue Sep 18, 2024 · 9 comments
Labels
area/devservices env/windows Impacts Windows machines kind/bug Something isn't working

Comments

@mjurc
Copy link

mjurc commented Sep 18, 2024

Describe the bug

Trying to run dev services for DB2/Oracle DB/MS SQL server on Linux on aarch64 can be problematic, as in general the container runtimes there don't run in VM emulating architecture OS combo like they do on Mac OS or Windows. The container images used for DB2/Oracle/MS SQL server do not have builds for Linux on aarch64 (MS SQL server goes even further and doesn't support running anywhere but x86-64).

Maybe it would be useful to document this in https://quarkus.io/guides/databases-dev-services?

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

Linux on aarch64

Output of java -version

doesn't factor

Quarkus version or git rev

main

Build tool (ie. output of mvnw --version or gradlew --version)

doesn't factor

Additional information

No response

@mjurc mjurc added the kind/bug Something isn't working label Sep 18, 2024
@quarkus-bot quarkus-bot bot added area/devservices env/windows Impacts Windows machines labels Sep 18, 2024
@quarkus-bot
Copy link

quarkus-bot bot commented Sep 18, 2024

/cc @geoand (devservices), @mswatosh (db2), @stuartwdouglas (devservices)

@geoand
Copy link
Contributor

geoand commented Sep 18, 2024

cc @yrodiere

@yrodiere
Copy link
Member

Maybe it would be useful to document this in https://quarkus.io/guides/databases-dev-services?

It would certainly be, but I wonder what else we need to put there. I see you tested Quarkus with ARM, can you confirm these are the only database dev services with this limitation? Did you notice other, non-database dev services with such a limitation?

@yrodiere
Copy link
Member

yrodiere commented Sep 19, 2024

Also, if this is specific to Mac M1 and similar, shouldn't we have a dedicated page gathering the compatibility status? Maybe we already do? @geoand?

@geoand
Copy link
Contributor

geoand commented Sep 19, 2024

That's a good idea. I don't think we have one, but maybe @gastaldi knows as he's encountered various issues in the past

@gastaldi
Copy link
Contributor

We don't but AFAIK you can run x86 images if you have Rosetta 2 installed. You can also pull the docker image with --platform linux/amd64 to force it to download the specific image. Does it work in your case @mjurc ?

@mjurc
Copy link
Author

mjurc commented Sep 19, 2024

This is not ran on m1. This is Linux on aarch64 with docker (without running the container engine in VM like it happens on Windows or Mac OS with Docker/Podman desktop, I think), and none of those images have multiarch builds.

@yrodiere I am still working through failures, so there may be other dev services yet, but I am certain those three don't have aarch64 builds. MS SQL is not supported on aarch64 even on baremetal, the builds of Oracle used are not multiarch either (and for that matter, I don't think there's any actual multiarch Oracle container). DB2 has containers for x86-64, P and Z.

@rsvoboda
Copy link
Member

just fyi, there was issue with Pulsar on aarch64 (#43187), solved by image downgrade in #43279

@rsvoboda
Copy link
Member

kafka-streams app on aarch64 built using native builder image is not working - #43319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devservices env/windows Impacts Windows machines kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants