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

telco-core reference identifies difference between 'spec: null' and 'spec: {}'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.17.z, 4.16.z, 4.18.z
    • GitOps ZTP
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Telco kube-compare Sprint 269, cluster-compare sprint 270
    • 2
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

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

      Description of problem:

      cluster-compare (and our CI) identifies a difference in sriovNetworkNodePolicy.yaml
      

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

      cluster-compare 4.19 pre-release (or 0.9.0 upstream)

      How reproducible:

      100%

      Steps to Reproduce:

          1. Upgrade cluster-compare tool
          2. make -C telco-core/configuration/ check   

      Actual results:

      Cluster CR: sriovnetwork.openshift.io/v1_SriovNetworkNodePolicy_openshift-sriov-network-operator_$name
      Reference File: required/networking/sriov/sriovNetworkNodePolicy.yaml
      Description:
        https://docs.openshift.com/container-platform/4.18/scalability_and_performance/telco_ref_design_specs/core/telco-core-ref-design-components.html#telco-core-sriov_core-ref-design-components
      Diff Output: diff -u -N /tmp/MERGED-3832947135/sriovnetwork-openshift-io-v1_sriovnetworknodepolicy_openshift-sriov-network-operator_-name /tmp/LIVE-2036955131/sriovnetwork-openshift-io-v1_sriovnetworknodepolicy_openshift-sriov-network-operator_-name
      --- /tmp/MERGED-3832947135/sriovnetwork-openshift-io-v1_sriovnetworknodepolicy_openshift-sriov-network-operator_-name    2025-04-10 17:17:01.213734283 -0400
      +++ /tmp/LIVE-2036955131/sriovnetwork-openshift-io-v1_sriovnetworknodepolicy_openshift-sriov-network-operator_-name    2025-04-10 17:17:01.213734283 -0400
      @@ -3,4 +3,3 @@
       metadata:
         name: $name
         namespace: openshift-sriov-network-operator
      -spec: null

      Expected results:

      No difference detected

              jramsay1@redhat.com Jim Ramsay
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Dwaine Gonyier Dwaine Gonyier
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: