Bug 1854781 - [sriov] VF MTU cannot be set if the initial PF MTU equals to the MTU in the SriovNetworkNodePolicy CR
Summary: [sriov] VF MTU cannot be set if the initial PF MTU equals to the MTU in the S...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.6.0
Assignee: Peng Liu
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks: 1854782 1854783
TreeView+ depends on / blocked
 
Reported: 2020-07-08 08:55 UTC by Peng Liu
Modified: 2020-10-27 16:13 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1854782 1854783 (view as bug list)
Environment:
Last Closed: 2020-10-27 16:12:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift sriov-network-operator pull 286 0 None closed BUG 1854775: Improve the MTU set/reset logic 2020-08-04 18:07:50 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:13:15 UTC

Description Peng Liu 2020-07-08 08:55:48 UTC
Description of problem:
VF MTU cannot be set if the initial PF MTU equals to the MTU in the SriovNetworkNodePolicy CR

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Set MTU to a non-default value, e.g. $ ip link set dev ens803f0 mtu 5000
2. deploy the sriov network operator
3. apply the following policy
---
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
  name: policy-net-2
spec:
  resourceName: nic2
  nodeSelector:
    kubernetes.io/hostname: worker-0
    feature.node.kubernetes.io/network-sriov.capable: "true"
  priority: 99
  mtu: 5000
  numVfs: 4
  nicSelector:
    pfNames: ['ens803f0']
  isRdma: false

Actual results:
The VFs were created with MTU 1500


Expected results:
The VFs were created with MTU 5000
Additional info:

Comment 3 zhaozhanqi 2020-07-14 07:42:49 UTC
Verified this bug on 4.6 with the following image
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:5c8ad53b3df62811aabf165690b1defe6dd44fd349fb209ec9bbe2adeb3e848c
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:bd0e5fac0eeb936e2648cc030c2ef13a34cc8157077881b59a4283baabf72a77

Comment 5 errata-xmlrpc 2020-10-27 16:12:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196


Note You need to log in before you can comment on or make changes to this bug.