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 ping failure due to overflow in sequence number check #120

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

MartinWeindel
Copy link
Member

What this PR does / why we need it:
The vpn-path-controller performs regular pings to both vpn-shoot pods in the VPN HA setup.
The ping response are validated. Especially the ping sequence number is compared.
The sequence number is marshalled as 16-bit integer, but uses a 32-bit counter in the code.
The comparison for long running kube-apiserver pods starts to fails after about 36h, and none of the both VPN tunnels can be used anymore.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Fix ping failure due to 16bit overflow in sequence number check.

@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 9, 2024
@gardener-robot gardener-robot added needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) labels Dec 9, 2024
@gardener-robot-ci-1 gardener-robot-ci-1 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Dec 9, 2024
MartinWeindel added a commit that referenced this pull request Dec 9, 2024
cherry-picking #120

```improvement operator
Fix ping failure due to 16bit overflow in sequence number check.
```
MartinWeindel added a commit that referenced this pull request Dec 9, 2024
cherry-picking #120

```improvement operator
Fix ping failure due to 16bit overflow in sequence number check.
```
@axel7born
Copy link
Collaborator

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Dec 9, 2024
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 9, 2024
@MartinWeindel MartinWeindel merged commit 1a24e3b into master Dec 9, 2024
11 checks passed
@MartinWeindel MartinWeindel deleted the fix/ping-seq-16bit branch December 9, 2024 10:25
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants