-
Notifications
You must be signed in to change notification settings - Fork 386
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
Bug: Updates after 0.5.18 breaks Gitlab CI (CNI) #1160
Comments
I have confirmed that the breakage begins in |
I believe this commit is the culprit: 27ad909#diff-3c2736a240a36fe2aa60abcac682b73839b9cecbe0822e35a5ce12f281e31102 |
I think it will be difficult to auto-detect the appropriate binary in all use cases. It looks like this already ran into trouble with WSL as well: 0bb37ac#diff-3c2736a240a36fe2aa60abcac682b73839b9cecbe0822e35a5ce12f281e31102. I'd propose a fix that allows users to explicitly choose which version of iptables to use in case autodetection makes the incorrect decision. |
Yeah; I agree. This was introduced in response to a user having the opposite problem; if we shaped the fix like the override we have for Though I am curious. What module does the kernel show in your case for |
Specifically, it appears that the Gitlab issue is likely related to the iptables being statically compiled into the kernel. In this case,
Notice that neither So I believe that the auto-detection script needs to be updated to be a bit more intelligent to handle cases like this. I will submit a proposal here after a bit more research. Unfortunately, this is not an MTU issue. |
I hear you. When I said "shaped like", I meant more like provide an environment variable + config file option for this setting, like MTU does. We could either:
|
Ah gotchya. I misinterpreted. My recommendation would be the first option as it allows a bit more control. |
Here is my proposal for the auto-detection algo:
|
Should be fixed here: #1172 |
Recently tried to upgrade our Gitlab runners from earthly
0.5.18
to0.5.22
but it appears the new default Buildkit backend breaks on GitlabCI. The version bundled with0.5.18
worked.This appears to be due to some CNI configuration issues. I am investigating further, but I wanted to share here in case anyone runs into similar issues.
Error logs
The text was updated successfully, but these errors were encountered: