-
Notifications
You must be signed in to change notification settings - Fork 115
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 issue preventing lowering of PF's MTU #700
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 9363135127Details
💛 - Coveralls |
I see that there was a reason for never allowing to lower the PF's MTU: #489 @SchSeba @adrianchiris @bn222 What's your take on this? I see two options here: either allow to lower the MTU of the PF or also update the condition here with regards to how we decide if sriov device should get updated |
Thanks @almaslennikov. Another way to hit this issue is when the user manually increases the mtu after having configured a policy with a lower mtu. We have a test ( I think we should go for the second option, aligning |
IMO we should update |
agree if the MTU on the PF is higher the @almaslennikov please implement a functional test to cover this case I will review this PR. |
Thanks for your PR,
To skip the vendors CIs use one of:
|
/test-e2e-all |
Hi @almaslennikov please check the unit-tests |
When the MTU set in the SRIOV Network Node Policy is lower than the actual MTU of the PF, it triggers the reconcile loop for the Node state indefinitely, preventing the configuration from completing. Signed-off-by: amaslennikov <[email protected]>
Thanks for your PR,
To skip the vendors CIs use one of:
|
/test-e2e-all |
1 similar comment
/test-e2e-all |
nodeState, err := clients.SriovNetworkNodeStates(operatorNamespace).Get(context.Background(), node, metav1.GetOptions{}) | ||
Expect(err).ToNot(HaveOccurred()) | ||
return nodeState.Status.Interfaces | ||
}, 3*time.Minute, 15*time.Second).Should(ContainElement(MatchFields( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole flow extends the this test by quite a bit.
@zeeke ? thoughts ? do we want this back and forth of the MTU in e2e tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with it for now if we see that it's unstable for some reason we can revisit this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx @almaslennikov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Nvidia e2e test CI seems to be broken now
LGTM |
nodeState, err := clients.SriovNetworkNodeStates(operatorNamespace).Get(context.Background(), node, metav1.GetOptions{}) | ||
Expect(err).ToNot(HaveOccurred()) | ||
return nodeState.Status.Interfaces | ||
}, 3*time.Minute, 15*time.Second).Should(ContainElement(MatchFields( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with it for now if we see that it's unstable for some reason we can revisit this
When the MTU set in the SRIOV Network Node Policy is lower than the actual MTU of the PF, it cannot be changed due to a condition in question. This triggers the reconcile loop for the Node state indefinitely, preventing the configuration from completing.