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

Pod annotaion key k8s.v1.cni.cncf.io/networks-status is changed

XMLWordPrintable

    • +
    • Moderate
    • Yes
    • CNF Network Sprint 234, OSDOCS Sprint 236
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Pod annotaion key k8s.v1.cni.cncf.io/networks-status is changed  to k8s.v1.cni.cncf.io/network-status
      
      https://github.com/openshift/sriov-network-operator/blob/master/test/util/network/network.go#L89
      
          k8s.ovn.org/pod-networks: '{"default":{"ip_addresses":["10.131.0.125/23"],"mac_address":"0a:58:0a:83:00:7d","gateway_ips":["10.131.0.1"],"ip_address":"10.131.0.125/23","gateway_ip":"10.131.0.1"}}'    k8s.v1.cni.cncf.io/network-status: |-      [{          "name": "ovn-kubernetes",          "interface": "eth0",          "ips": [              "10.131.0.125"          ],          "mac": "0a:58:0a:83:00:7d",          "default": true,          "dns": {}      },{          "name": "sriov-conformance-testing/test-sriovnetwork",          "interface": "net1",          "ips": [              "1.1.1.4"          ],          "mac": "96:1d:11:db:5e:20",          "dns": {},          "device-info": {              "type": "pci",              "version": "1.0.0",              "pci": {                  "pci-address": "0000:d8:00.3"              }          }      },{          "name": "sriov-conformance-testing/test-sriovnetwork",          "interface": "net2",          "ips": [              "1.1.1.5"          ],          "mac": "9e:b3:ce:c0:95:63",          "dns": {},          "device-info": {              "type": "pci",              "version": "1.0.0",              "pci": {                  "pci-address": "0000:d8:00.2"              }          }      }]

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

      Server Version: 4.13.0-0.ci.test-2023-02-27-174223-ci-ln-81xv592-latest
      Kubernetes Version: v1.26.0-2716+89232647de67ea-dirty

      How reproducible:

      100%

      Steps to Reproduce:

      1.Create sriov configuration
      2.Create pod with sriov interface
      3.
      

      Actual results:

      • Failure [4.561 seconds]
      [sriov] operator
      /remote-source/app/vendor/github.com/k8snetworkplumbingwg/sriov-network-operator/test/conformance/tests/test_sriov_operator.go:71
        Generic SriovNetworkNodePolicy
        /remote-source/app/vendor/github.com/k8snetworkplumbingwg/sriov-network-operator/test/conformance/tests/test_sriov_operator.go:174
          Multiple sriov device and attachment
          /remote-source/app/vendor/github.com/k8snetworkplumbingwg/sriov-network-operator/test/conformance/tests/test_sriov_operator.go:660
            Should configure multiple network attachments [It]
            /remote-source/app/vendor/github.com/k8snetworkplumbingwg/sriov-network-operator/test/conformance/tests/test_sriov_operator.go:662      Unexpected error:
                <*json.SyntaxError | 0xc001c341e0>: {
                    msg: "unexpected end of JSON input",
                    Offset: 0,
                }
                unexpected end of JSON input
            occurred      /remote-source/app/vendor/github.com/k8snetworkplumbingwg/sriov-network-operator/test/conformance/tests/test_sriov_operator.go:673
      

      Expected results:

      Test passed

      Additional info:

       

              apanatto@redhat.com Andrea Panattoni
              rhn-cnf-elevin Evgeny Levin
              Nikita Kononov Nikita Kononov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: