-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
4.17.z
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
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:
- is duplicated by
-
OCPBUGS-54226 cluster-compare flags PTP operator config Event apiversion should be integer instead of floating point string
-
- Closed
-