-
Notifications
You must be signed in to change notification settings - Fork 77
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
fix: remove server network interface workaround #1021
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1021 +/- ##
==========================================
+ Coverage 66.13% 66.28% +0.15%
==========================================
Files 66 66
Lines 9874 9868 -6
==========================================
+ Hits 6530 6541 +11
+ Misses 2628 2612 -16
+ Partials 716 715 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This issue that caused the workaround only happens sporadically, a single successful test run does not give me confidence that the issue went away. IIRC we tried to setup some e2e tests that were able to reproduce a few months ago with a bastion server and SSH, not sure if we even merged that. |
But the workaround causes issues with userdata scripts. If we stop a server which is midway running cloud-init it can cause uncertain behaviour. some scripts do not run again on the next boot. |
I understand that you have an issue and we should fix that. I just wanted to say that the suggested solution of removing the workaround is also not without downsides, as it might introduce another bug. @jooola We previously tried to remove this workaround in the |
ab4ab1c
to
6cf948e
Compare
Marking as ready to review, only to run the e2e. |
ce48cf7
to
adb934c
Compare
adb934c
to
9a54e19
Compare
We found the origin of the workaround. I am confident that we can remove it without breaking anything. |
Thank you @jooola for researching the original conditions that lead to the workaround and making sure the underlying problem is now fixed. |
🤖 I have created a release *beep* *boop* --- ## [1.49.1](v1.49.0...v1.49.1) (2024-11-21) ### Bug Fixes * remove server network interface workaround ([#1021](#1021)) ([be330df](be330df)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Remove a server workaround that was used to fix a private network issue.
The problem that this workaround tried to solve was a timing issue. When the workaround was implemented, the action returned by the
attach to network
endpoint was marked as success without waiting for the network definition to be applied on the host. Today, the actions returned by theattach to network
endpoint do wait for the network definition to be applied on the host.The workaround can therefor be removed with a certain confidence.
Supersede #1020
Fixes #1019
Related to #552 and #550