+++ This bug was initially created as a clone of Bug #1854775 +++ Description of problem: The operator always reset the PF MTU to 1500 when the policy is deleted Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Set the PF mtu to 5000. e.g. $ sudo ip link set dev ens803f0 mtu 5000 2. Deploy the sriov network operator 3. Apply 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: 9000 numVfs: 4 nicSelector: pfNames: ['ens803f0#0-0'] isRdma: false 4. remove the policy Actual results: The MTU of ens803f0 was reset to 1500 Expected results: The MTU of ens803f0 was reset to 5000 Additional info:
Verified this bug on 4.5.0-202007211936.p0 MTU can be restored to origin when the policy is deleted.
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, 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:3028