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

fix: wait server firewall actions to settle #209

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

jooola
Copy link
Member

@jooola jooola commented Jul 4, 2024

Closes #205

Prevents a server locked error from the API, when trying to change the type of the server, while firewall_apply are still running in the backend.

The firewall_apply actions are triggered by label selectors.

@jooola jooola requested a review from a team as a code owner July 4, 2024 16:55
Copy link

codecov bot commented Jul 4, 2024

Codecov Report

Attention: Patch coverage is 48.00000% with 13 lines in your changes missing coverage. Please review.

Project coverage is 33.56%. Comparing base (de02717) to head (62d6b62).

Files Patch % Lines
builder/hcloud/step_create_server.go 48.00% 9 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
+ Coverage   33.04%   33.56%   +0.51%     
==========================================
  Files          12       12              
  Lines         702      727      +25     
==========================================
+ Hits          232      244      +12     
- Misses        445      454       +9     
- Partials       25       29       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Closes #205

Prevents a server 'locker' error from the API, when trying to change the
type of the server, while some 'firewall_apply' are still running in the
backend. The 'firewall_apply' actions are triggered by label selectors.
@jooola jooola force-pushed the fix-change-server-type-server-locked branch from 37c4873 to 62d6b62 Compare July 5, 2024 11:23
@jooola jooola requested a review from apricote July 5, 2024 11:26
@jooola jooola merged commit 2d58893 into main Jul 9, 2024
10 checks passed
@jooola jooola deleted the fix-change-server-type-server-locked branch July 9, 2024 08:50
jooola pushed a commit that referenced this pull request Jul 9, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.5.3](v1.5.2...v1.5.3)
(2024-07-09)


### Bug Fixes

* wait server firewall actions to settle
([#209](#209))
([2d58893](2d58893))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible race condition related to rescue and upgrade_server_type options
2 participants