Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-3057

SR-IOV | Connectivity doesn't work with iPv6+static mac on top of i40e driver

XMLWordPrintable

    • None
    • CNF Network Sprint 227, CNF Network Sprint 228
    • 2
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • 11/8: removed from the Telco-Grade OCP 4.12 list in favour of the RHEL issue RHELPLAN-138514 (actually, the 8.6.z backport RHELPLAN-140971)

      Description of problem:

      Connectivity tests failed  between client and server pod with the following configuration.
      
      IPv6 + Static mac address on top of Intel i40e driver. 
      Same test works using Mlx NIC
      
      Work around:  set Trust: on flag on SriovNetwork resource
      
      Version-Release number of selected component (if applicable):{code:none}
      SR-IOV operator v4.12.0.202210290517.p0.g53ca99d.assembly.stream-1
      OCP version: 4.12.0-0.nightly-2022-10-25-210451
      
      
      

      How reproducible:

      Always after couple of create/remove steps
      
      

      Steps to Reproduce:

      Create SriovPolicy on top of Intel card
      Configure SriovNetwork 
      Create client/server pod with static mac/ip 
      Test connectivity.
      Remove client/server pod 
      Create client/server pod with the same mac/ip.
      After couple of times connectivity test will failed
      

      Actual results:

      
      

      Expected results:

      
      

      Additional info:

      dmesg error:
      [109920.139657] device 141ef726c9c2f90 entered promiscuous mode
      [109920.229733] i40e 0000:3b:00.0: Setting MAC 20:04:0f:f1:88:01 on VF 1
      [109920.229800] iavf 0000:3b:02.1: Reset indication received from the PF
      [109920.229804] iavf 0000:3b:02.1: Scheduling reset task
      [109920.322970] i40e 0000:3b:00.0: Bring down and up the VF interface to make this change effective.
      [109920.323551] iavf 0000:3b:02.1 temp_3865: renamed from ens1f0v1
      [109920.389984] iavf 0000:3b:02.1 net1: renamed from temp_3865
      [109920.408391] IPv6: ADDRCONF(NETDEV_UP): net1: link is not ready
      [109920.427980] i40e 0000:3b:00.0: VF attempting to override administratively set MAC address, bring down and up the VF interface to resume normal operation
      [109920.427989] i40e 0000:3b:00.0: VF 1 failed opcode 10, retval: -1
      [109920.428039] iavf 0000:3b:02.1: Failed to add MAC filter, error IAVF_ERR_NVM
      [109920.470109] iavf 0000:3b:02.1 net1: NIC Link is Up Speed is 25 Gbps Full Duplex
      [109920.470134] IPv6: ADDRCONF(NETDEV_CHANGE): net1: link becomes ready
      [109926.706512] i40e 0000:3b:00.0: VF 1 failed opcode 11, retval: -10
      [109926.706568] iavf 0000:3b:02.1: Failed to delete MAC filter, error IAVF_ERR_INVALID_MAC_ADDR
      [109926.734440] iavf 0000:3b:02.1 ens1f0v1: renamed from net1
      [109926.769820] i40e 0000:3b:00.0: VF attempting to override administratively set MAC address, bring down and up the VF interface to resume normal operation
      [109926.769826] i40e 0000:3b:00.0: VF 1 failed opcode 10, retval: -1
      [109926.769887] iavf 0000:3b:02.1: Failed to add MAC filter, error IAVF_ERR_NVM
      [109926.802830] i40e 0000:3b:00.0: Setting MAC 26:9f:c7:ec:fb:5d on VF 1
      [109926.802904] iavf 0000:3b:02.1: Reset indication received from the PF
      [109926.802910] iavf 0000:3b:02.1: Scheduling reset task
      [109926.896479] i40e 0000:3b:00.0: Bring down and up the VF interface to make this change effective.
      [109927.131810] device 141ef726c9c2f90 left promiscuous mode
      [109939.087204] IPv6: ADDRCONF(NETDEV_UP): 16107ffbf4378f9: link is not ready
      [109939.088132] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
      [109939.088298] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
      [109939.088503] IPv6: ADDRCONF(NETDEV_CHANGE): 16107ffbf4378f9: link becomes ready
      [109939.143101] device 16107ffbf4378f9 entered promiscuous mode
      [109939.253306] i40e 0000:3b:00.0: Setting MAC 20:04:0f:f1:88:01 on VF 0
      [109939.253403] iavf 0000:3b:02.0: Reset indication received from the PF
      [109939.253410] iavf 0000:3b:02.0: Scheduling reset task
      [109939.346543] i40e 0000:3b:00.0: Bring down and up the VF interface to make this change effective.
      [109939.347165] iavf 0000:3b:02.0 temp_3864: renamed from ens1f0v0
      [109939.413465] iavf 0000:3b:02.0 net1: renamed from temp_3864
      [109939.432008] IPv6: ADDRCONF(NETDEV_UP): net1: link is not ready
      [109939.452958] i40e 0000:3b:00.0: VF attempting to override administratively set MAC address, bring down and up the VF interface to resume normal operation
      [109939.452967] i40e 0000:3b:00.0: VF 0 failed opcode 10, retval: -1
      [109939.453016] iavf 0000:3b:02.0: Failed to add MAC filter, error IAVF_ERR_NVM
      [109939.494650] iavf 0000:3b:02.0 net1: NIC Link is Up Speed is 25 Gbps Full Duplex
      [109939.494675] IPv6: ADDRCONF(NETDEV_CHANGE): net1: link becomes ready
      [110031.147525] i40e 0000:3b:00.0: VF 0 failed opcode 11, retval: -10
      [110031.147585] iavf 0000:3b:02.0: Failed to delete MAC filter, error IAVF_ERR_INVALID_MAC_ADDR
      [110031.179574] iavf 0000:3b:02.0 ens1f0v0: renamed from net1
      [110031.210521] i40e 0000:3b:00.0: VF attempting to override administratively set MAC address, bring down and up the VF interface to resume normal operation
      [110031.210527] i40e 0000:3b:00.0: VF 0 failed opcode 10, retval: -1
      [110031.210579] iavf 0000:3b:02.0: Failed to add MAC filter, error IAVF_ERR_NVM
      [110031.245710] i40e 0000:3b:00.0: Setting MAC 36:4b:b9:73:02:52 on VF 0
      [110031.245785] iavf 0000:3b:02.0: Reset indication received from the PF
      [110031.245790] iavf 0000:3b:02.0: Scheduling reset task
      [110031.339512] i40e 0000:3b:00.0: Bring down and up the VF interface to make this change effective.
      [110031.554707] device 16107ffbf4378f9 left promiscuous mode
      [110177.991866] IPv6: ADDRCONF(NETDEV_UP): 93b9a9ccbe33e43: link is not ready
      [110177.992547] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
      

        1. Logs.tar.xz
          75 kB
          Nikita Kononov
        2. pod-client.yaml
          0.5 kB
          Nikita Kononov
        3. pod-server.yaml
          0.5 kB
          Nikita Kononov
        4. sriov-network-usual.yaml
          0.3 kB
          Nikita Kononov
        5. sriov-policy-1500.yaml
          0.4 kB
          Nikita Kononov

              carlosgoncalves Carlos Goncalves
              nkononov@redhat.com Nikita Kononov
              Nikita Kononov Nikita Kononov
              Carlos Goncalves
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: