-
Bug
-
Resolution: Done
-
Major
-
None
-
4.19
This is a clone of issue OCPBUGS-54981. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-54517. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-54226. The following is the description of the original issue:
—
Description of problem:
cluster-compare of PTPoperatorConfig CR improperly flags .spec.ptpEventConfig.apiVersion to be an integer instead of a string float value. The values "2.0" or "1.0" should be configured instead of 2 or 1 Diff Output: diff -u -N /tmp/MERGED-2910767149/ptp-openshift-io-v1_ptpoperatorconfig_openshift-ptp_default /tmp/LIVE-3499010376/ptp-openshift-io-v1_ptpoperatorconfig_openshift-ptp_default --- /tmp/MERGED-2910767149/ptp-openshift-io-v1_ptpoperatorconfig_openshift-ptp_default 2025-03-25 14:14:18.270020420 -0400 +++ /tmp/LIVE-3499010376/ptp-openshift-io-v1_ptpoperatorconfig_openshift-ptp_default 2025-03-25 14:14:18.270020420 -0400 @@ -7,6 +7,6 @@ daemonNodeSelector: node-role.kubernetes.io/master: "" ptpEventConfig: - apiVersion: 1 + apiVersion: "1.0" enableEventPublisher: true transportHost: http://ptp-event-publisher-service-NODE_NAME.openshift-ptp.svc.cluster.local:9043 Diff Output: diff -u -N /tmp/MERGED-3463769962/ptp-openshift-io-v1_ptpoperatorconfig_openshift-ptp_default /tmp/LIVE-2128075619/ptp-openshift-io-v1_ptpoperatorconfig_openshift-ptp_default --- /tmp/MERGED-3463769962/ptp-openshift-io-v1_ptpoperatorconfig_openshift-ptp_default 2025-03-25 14:13:34.105312762 -0400 +++ /tmp/LIVE-2128075619/ptp-openshift-io-v1_ptpoperatorconfig_openshift-ptp_default 2025-03-25 14:13:34.105312762 -0400 @@ -7,6 +7,6 @@ daemonNodeSelector: node-role.kubernetes.io/master: "" ptpEventConfig: - apiVersion: 2 + apiVersion: "2.0" enableEventPublisher: true transportHost: http://ptp-event-publisher-service-NODE_NAME.openshift-ptp.svc.cluster.local:9043 product documentation for this parameter: https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/networking/using-precision-time-protocol-hardware#cnf-configuring-the-ptp-fast-event-publisher-v2_ptp-consumer
Version-Release number of selected component (if applicable):
ztp-4.19.0-26 cluster-compare version v4.19.0 (2025-03-13 20:15:54+00:00)
How reproducible:
always
Steps to Reproduce:
1. run oc cluster-compare on ptpoperatorconfig CR 2. review output of tool 3.
Actual results:
cluster-compare expects a value of .spec. ptpEventConfig.apiVersion to be 1 or 2 (integer)
Expected results:
allowed value for apiVersion are strings "1.0" or "2.0" according to docs
Additional info:
- clones
-
OCPBUGS-54981 cluster-compare flags PTP operator config Event apiversion should be integer instead of floating point string
-
- Closed
-
- is blocked by
-
OCPBUGS-54981 cluster-compare flags PTP operator config Event apiversion should be integer instead of floating point string
-
- Closed
-
- links to
- mentioned on