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

Use UBI9 based Quarkus micro image #46231

Merged

Conversation

michalvavrik
Copy link
Member

@michalvavrik michalvavrik commented Feb 12, 2025

I have Kuberentes application that is failing over:

2025-02-11T23:37:09.2099788Z 23:37:09,153 INFO  [pingpong] [pingpong-5c5f8c5dd6-dkvr5] ./application: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./application)
2025-02-11T23:37:09.2101368Z 23:37:09,153 INFO  [pingpong] ./application: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./application)
2025-02-11T23:37:09.2102362Z 23:37:09,153 INFO  [pingpong] ./application: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./application)

I believe the reason for this is combination of default quay.io/quarkus/ubi9-quarkus-mandrel-builder-image:jdk-21 and ubi8 based quay.io/quarkus/quarkus-micro-image.

This commit f95cf8c changed description of the quarkus.jib.base-native-image to say quay.io/quarkus/ubi9-quarkus-micro-image:2.0 is default, but didn't change default.

https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.19#ubi-9 says that UBI9 based micro image is default, I believe this will solve my issues. I experienced many similar issues when I combined UBI9 and UBI8. Thanks.

P.S. I have also mentioned that ubi-quarkus-native-binary-s2i didn't change to ubi9-quarkus-native-binary-s2i, but the difference is that it is not in the migration guide or in the configuration property javadoc io.quarkus.container.image.openshift.deployment.ContainerImageOpenshiftConfig#baseNativeImage and I always override it didn't hit issues yet. I wonder - is it intentional and why?

This comment has been minimized.

Copy link

github-actions bot commented Feb 12, 2025

🙈 The PR is closed and the preview is expired.

This comment has been minimized.

@michalvavrik michalvavrik force-pushed the feature/fix-quarkus-micro-image branch from e286b67 to 02a6143 Compare February 12, 2025 17:38

This comment has been minimized.

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but let's wait for Clément's approval.

This comment has been minimized.

@michalvavrik michalvavrik force-pushed the feature/fix-quarkus-micro-image branch from 02a6143 to 5ac3a00 Compare February 14, 2025 11:46
Copy link

quarkus-bot bot commented Feb 14, 2025

Status for workflow Quarkus Documentation CI

This is the status report for running Quarkus Documentation CI on commit 5ac3a00.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

Warning

There are other workflow runs running, you probably need to wait for their status before merging.

@cescoffier
Copy link
Member

Definitely an overlook from my side! Thanks!

@gastaldi gastaldi added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Feb 14, 2025
Copy link

quarkus-bot bot commented Feb 14, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 5ac3a00.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@gastaldi gastaldi merged commit 1f7a40e into quarkusio:main Feb 14, 2025
58 checks passed
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Feb 14, 2025
@quarkus-bot quarkus-bot bot added this to the 3.21 - main milestone Feb 14, 2025
@gsmet gsmet modified the milestones: 3.21 - main, 3.19.0 Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants