-
Notifications
You must be signed in to change notification settings - Fork 116
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: routes deleted+added every route reconcilation interval with 1.16.0 #470
Comments
Based on customer logs we believe we found the issue.
hccm thinks that the existing routes in the network actually belong to Nodes in another cluster (with a different network) in the same project. Looking at the code it seems that when we map the Cloud Network routes to We have multiple fixes planned for this:
|
In case another server in the project has the same Private IP (in another network) as one of our cluster nodes, hccm would happily delete&recreate the route on every route reconciliation. This fixes the bug by only adding the Private IPs in the correct network to the AllServersCache ByPrivateIP lookup map. Fixes #470 Co-authored-by: Jonas Lammler <ljonas@riseup.net>
In case another server in the project has the same Private IP (in another network) as one of our cluster nodes, hccm would happily delete&recreate the route on every route reconciliation. This fixes the bug by only adding the Private IPs in the correct network to the AllServersCache ByPrivateIP lookup map. Fixes #470 Co-authored-by: Jonas Lammler <ljonas@riseup.net>
… IP (#472) In case another server in the project has the same Private IP (in another network) as one of our cluster nodes, hccm would happily delete&recreate the route on every route reconciliation. This fixes the bug by only adding the Private IPs in the correct network to the AllServersCache ByPrivateIP lookup map. Fixes #470 Co-authored-by: Jonas Lammler <ljonas@riseup.net>
🤖 I have created a release *beep* *boop* --- ## [1.17.0](v1.16.0...v1.17.0) (2023-07-18) ### Features * **helm:** allow to set labels and annotations for podMonitor ([#471](#471)) ([5dad655](5dad655)) * upgrade to hcloud-go v2 e4352ec ([5a066a1](5a066a1)) ### Bug Fixes * **helm-chart:** resource namespace and name ([#462](#462)) ([0c4eee6](0c4eee6)) * **routes:** deleting wrong routes when other server has same private IP ([#472](#472)) ([5461038](5461038)), closes [#470](#470) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Multiple customers are currently experiencing a bug on v1.16.0 where HCCM is deleting and then immediately adding back routes once route reconciliation interval. This is breaking the routing functionality for them and causes avoidable strain on our backend.
The only PR that might have introduced this issue is #432
We do not yet know how to reproduce this issue. If you are experiencing this issue, we would be glad to get some answers to these questions from you:
You can answer here, send them to my work email
julian.toelle <at> hetzner-cloud.de
or open a new support ticket and reference this issue.Example request log:
The text was updated successfully, but these errors were encountered: