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

MGMT-19927: Modify MTU Check to Only MTUs != 1500 #910

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linoyaslan
Copy link
Contributor

@linoyaslan linoyaslan commented Feb 13, 2025

This PR updates the MTU check to apply only to MTUs != 1500. Additionally, it adjusts the header subtraction to account only for IPv4/IPv6 headers.

/cc @zaneb @AlonaKaplan

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 13, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 13, 2025

@linoyaslan: This pull request references MGMT-19927 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.19.0" version, but no target version was set.

In response to this:

This PR updates the MTU check to apply only to MTUs greater than 1500. Additionally, it adjusts the header subtraction to account only for IPv4/IPv6 headers.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@linoyaslan linoyaslan marked this pull request as draft February 13, 2025 18:34
@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 13, 2025
Copy link

openshift-ci bot commented Feb 13, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: linoyaslan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 13, 2025
@linoyaslan linoyaslan force-pushed the MGMT-19927.mtu_check_greater_than_1500 branch 2 times, most recently from 7964699 to f57edb7 Compare February 13, 2025 18:56
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 13, 2025

@linoyaslan: This pull request references MGMT-19927 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.19.0" version, but no target version was set.

In response to this:

This PR updates the MTU check to apply only to MTUs greater than 1500. Additionally, it adjusts the header subtraction to account only for IPv4/IPv6 headers.

/cc @zaneb @AlonaKaplan

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@linoyaslan linoyaslan force-pushed the MGMT-19927.mtu_check_greater_than_1500 branch 2 times, most recently from 4caa4eb to 60042fc Compare February 18, 2025 19:06
@openshift-ci openshift-ci bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 18, 2025
@linoyaslan linoyaslan requested a review from zaneb February 18, 2025 19:06
@linoyaslan linoyaslan marked this pull request as ready for review February 18, 2025 19:07
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 18, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 18, 2025

@linoyaslan: This pull request references MGMT-19927 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.19.0" version, but no target version was set.

In response to this:

This PR updates the MTU check to apply only to MTUs != 1500. Additionally, it adjusts the header subtraction to account only for IPv4/IPv6 headers.

/cc @zaneb @AlonaKaplan

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@linoyaslan linoyaslan changed the title MGMT-19927: Modify MTU Check to Only MTUs Greater Than 1500 MGMT-19927: Modify MTU Check to Only MTUs != 1500 Feb 18, 2025
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.70%. Comparing base (3e2184b) to head (547cbdb).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #910      +/-   ##
==========================================
+ Coverage   60.52%   60.70%   +0.17%     
==========================================
  Files          75       75              
  Lines        4008     4044      +36     
==========================================
+ Hits         2426     2455      +29     
- Misses       1411     1417       +6     
- Partials      171      172       +1     
Files with missing lines Coverage Δ
src/connectivity_check/mtu_checker.go 63.26% <100.00%> (+5.12%) ⬆️

... and 1 file with indirect coverage changes

@zaneb
Copy link
Member

zaneb commented Feb 19, 2025

LGTM. I assume you have tested this locally with a non-default MTU? I expect none of the CI jobs are exercising it.

@linoyaslan
Copy link
Contributor Author

linoyaslan commented Feb 19, 2025

LGTM. I assume you have tested this locally with a non-default MTU? I expect none of the CI jobs are exercising it.

@zaneb Yes, I tested it locally using stat-net to configure interfaces with MTU < 1500 and MTU > 1500. I set the switch MTU smaller than the hosts' interfaces MTU. The validation failed for all hosts as expected. I started the installation despite the validation failure, and it timed out—similar to what was described in the original ticket, as expected.

@linoyaslan
Copy link
Contributor Author

/retest

1 similar comment
@linoyaslan
Copy link
Contributor Author

/retest

@linoyaslan linoyaslan force-pushed the MGMT-19927.mtu_check_greater_than_1500 branch from 60042fc to 432fb2d Compare February 20, 2025 08:48
@linoyaslan linoyaslan force-pushed the MGMT-19927.mtu_check_greater_than_1500 branch from 432fb2d to 547cbdb Compare February 20, 2025 09:05
@AlonaKaplan
Copy link

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2025
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 3e2184b and 2 for PR HEAD 547cbdb in total

@linoyaslan
Copy link
Contributor Author

/retest

@linoyaslan
Copy link
Contributor Author

/test okd-scos-e2e-aws-ovn

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 93697bb and 1 for PR HEAD 547cbdb in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 93697bb and 2 for PR HEAD 547cbdb in total

Copy link

openshift-ci bot commented Feb 21, 2025

@linoyaslan: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-agent-compact-ipv4 547cbdb link true /test e2e-agent-compact-ipv4
ci/prow/okd-scos-e2e-aws-ovn 547cbdb link false /test okd-scos-e2e-aws-ovn

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants