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

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

    XMLWordPrintable

Details

    • Moderate
    • No
    • CNF Network Sprint 234, CNF Network Sprint 235
    • 2
    • False
    • Hide

      None

      Show
      None

    Description

      This is a clone of issue OCPBUGS-8318. The following is the description of the original issue:

      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:

       

      Attachments

        Activity

          People

            sscheink@redhat.com Sebastian Scheinkman
            openshift-crt-jira-prow OpenShift Prow Bot
            Evgeny Levin Evgeny Levin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: