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

PtpOperatorConfigForEvent is not matching string in apiVersion "1.0"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17.z
    • GitOps ZTP
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      PtpOperatorConfigForEvent is not matching string "1.0"
      https://github.com/openshift-kni/cnf-features-deploy/blob/release-4.17/ztp/kube-compare-reference/optional/ptp-config/PtpOperatorConfigForEvent.yaml#L16
      
          

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

      4.17
          

      How reproducible:

      100 %
          

      Steps to Reproduce:

          1. Install SNO using ZTP/Gitops .  A PolicyGenTemplate with example config
      
      --------
          - fileName: PtpOperatorConfigForEvent.yaml
            policyName: "config-policy"
            spec:
              ptpEventConfig:
              apiVersion: "1.0"
      --------
      
          2.  Run ocp-far-edge-vran-cluster-compare tool job
          3.  Look at report
          

      Actual results:

      
      {noformat}
      Differences found in CR: sriovnetwork.openshift.io/v1_SriovNetworkNodePolicy_openshift-sriov-network-operator_pci-sriov-net-f1, Compared To Reference CR: required/sriov-operator/SriovNetworkNodePolicy.yaml
      diff -u -N /tmp/MERGED-1418785674/sriovnetwork-openshift-io-v1_sriovnetworknodepolicy_openshift-sriov-network-operator_pci-sriov-net-f1 /tmp/LIVE-605544721/sriovnetwork-openshift-io-v1_sriovnetworknodepolicy_openshift-sriov-network-operator_pci-sriov-net-f1
      --- /tmp/MERGED-1418785674/sriovnetwork-openshift-io-v1_sriovnetworknodepolicy_openshift-sriov-network-operator_pci-sriov-net-f1	2024-11-12 08:06:36.241669186 +0000
      +++ /tmp/LIVE-605544721/sriovnetwork-openshift-io-v1_sriovnetworknodepolicy_openshift-sriov-network-operator_pci-sriov-net-f1	2024-11-12 08:06:36.241669186 +0000
      @@ -12,5 +12,4 @@
         nodeSelector:
           node-role.kubernetes.io/master: ""
         numVfs: 8
      -  priority: null
         resourceName: pci_sriov_net_f1
      {noformat}
      
      Differences found in CR: 
          

      Expected results:

      
          

      Additional info:

      
          

              sahasan@redhat.com Sabbir Hasan
              mlammon@redhat.com Mike Lammon
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: