-
Notifications
You must be signed in to change notification settings - Fork 376
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
antrea/antrea-ubi:v1.14.0 image is broken #5722
Comments
A rebuild is not a solution. This is not a transient error. In Antrea v1.14, we upgraded from Go 1.19 to Go 1.21. Go 1.21 includes the following change:
The effect can be a bit unclear just based on this statement, but more details can be found there:
What this means is that when compiling with cgo (which we do for the antrea-agent and antrea-controller binaries), the runtime system needs to have a version of glibc greater or equal than the version of glibc present on the build system. Antrea uses We do not have this issue for There are 2 ways to resolve this:
I will use 2) for now to solve the UBI image issue. I will also open a separate issue to investigate 1). |
Starting with Go 1.21, the runtime system needs to have a version of glibc "compatible" with the version available at build time. The ubi8 image comes with a very old version of glibc compared to the golang builder, and the Antrea binaries no longer run. To address this, we use the ubi8 image to build Antrea, which means we need to install Go manually. Fixes antrea-io#5722 Signed-off-by: Antonin Bas <abas@vmware.com>
Starting with Go 1.21, the runtime system needs to have a version of glibc "compatible" with the version available at build time. The ubi8 image comes with a very old version of glibc compared to the golang builder, and the Antrea binaries no longer run. To address this, we use the ubi8 image to build Antrea, which means we need to install Go manually. Fixes #5722 Signed-off-by: Antonin Bas <abas@vmware.com>
Starting with Go 1.21, the runtime system needs to have a version of glibc "compatible" with the version available at build time. The ubi8 image comes with a very old version of glibc compared to the golang builder, and the Antrea binaries no longer run. To address this, we use the ubi8 image to build Antrea, which means we need to install Go manually. Fixes antrea-io#5722 Signed-off-by: Antonin Bas <abas@vmware.com>
Re-opening until we have a published working tag |
Starting with Go 1.21, the runtime system needs to have a version of glibc "compatible" with the version available at build time. The ubi8 image comes with a very old version of glibc compared to the golang builder, and the Antrea binaries no longer run. To address this, we use the ubi8 image to build Antrea, which means we need to install Go manually. Fixes antrea-io#5722 Signed-off-by: Antonin Bas <abas@vmware.com>
Starting with Go 1.21, the runtime system needs to have a version of glibc "compatible" with the version available at build time. The ubi8 image comes with a very old version of glibc compared to the golang builder, and the Antrea binaries no longer run. To address this, we use the ubi8 image to build Antrea, which means we need to install Go manually. Fixes #5722 Signed-off-by: Antonin Bas <abas@vmware.com>
Can close this now
|
Describe the bug
The UBI-based image for the v1.14.0 release is unusable. Antrea Pods go into CrashLoopBackOff state immediately, with the following error:
Thanks Marcus for reporting this issue on our Slack channel.
To Reproduce
Deploy Antrea with the
antrea/antrea-ubi:v1.14.0
image instead of theantrea/antrea-ubuntu:v1.14.0
image.Versions:
Antrea v1.14.0
Additional context
According to @salv-orlando, simply rebuilding the image should resolve the issue.
The text was updated successfully, but these errors were encountered: