Skip to content

(WIP) OSDOCS-13187:Manually setting the MTU value #93116

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

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

Conversation

tedaveryredhat
Copy link

@tedaveryredhat tedaveryredhat commented May 7, 2025

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

openshift-ci-robot commented May 7, 2025

@tedaveryredhat: This pull request references OSDOCS-13187 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 story to target the "4.20.0" version, but no target version was set.

In response to this:

Version(s):
4.19

Issue:
https://issues.redhat.com/browse/OSDOCS-13187

Link to docs preview:

QE review:

  • QE has approved this change.

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.

@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/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 7, 2025
@ocpdocs-previewbot
Copy link

🤖 Wed May 07 19:20:19 - Prow CI generated the docs preview:

https://93116--ocpdocs-pr.netlify.app/microshift/latest/microshift_networking/microshift-cni.html

Copy link

openshift-ci bot commented May 7, 2025

@tedaveryredhat: all tests passed!

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.

@openshift-ci-robot
Copy link

openshift-ci-robot commented May 7, 2025

@tedaveryredhat: This pull request references OSDOCS-13187 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 story to target the "4.20.0" version, but no target version was set.

In response to this:

Version(s):
4.19

Issue:
https://issues.redhat.com/browse/OSDOCS-13187

Link to docs preview:
https://93116--ocpdocs-pr.netlify.app/microshift/latest/microshift_networking/microshift-cni.html

QE review:

  • QE has approved this change.

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.

[IMPORTANT]

====
When you start {microshift-short} in a virtual machine using OpenShift Virtualization that uses the pod network as the primary interface, the default MTU value is not detected. Therefore, specifying the MTU value manually in `/etc/microshift/ovn.yaml` is required.
Copy link

@eslutsky eslutsky May 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont see how its related to OpenShift Virtualization,it concerns every environment when the MTU is not the default 1500, and this behaviour changed in 4.19 -
when MTU is not set in the ovn.yaml we get it from the default route interface.
see openshift/microshift#4315

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this text need to be revised to "If you do not specify the MTU value in /etc/microshift/ovn.yaml, then the value from the default route interface is used."

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's my suggestion:
The MTU of the OVN overlay networking in MicroShift must be 100 bytes smaller than the MTU of the base network.
If no MTU value is configured, MicroShift auto-configures this using the mtu size of the default gateway (IPV4 or V6) of the host.
In case the auto-configuration does not work correctly, the MTU size can be configured manually. Example: if the MTU size of the network is 9000, the OVN MTU size must be set to 8900.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants