-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
4.14
-
Moderate
-
No
-
CNF RAN Sprint 249
-
1
-
False
-
-
Release Note Not Required
-
In Progress
This is a clone of issue OCPBUGS-28651. The following is the description of the original issue:
—
Description of problem:
In 2 card GM wpc environment, 2nd ptp GM card is not set to use GPS
Version-Release number of selected component (if applicable):
4.14 and 4.15
How reproducible:
100%
Steps to Reproduce:
1. Deploy SNO with ptp-operator and 2 card GM ptpconfig following the PtpConfigGmWpcTwoCards.yaml in source-cr
2. Disable the SMA connection between WPC cards by disabling the pin on the receiving card: [kni@registry.kni-qe-61 ~]$ oc -n openshift-ptp exec -it ds/linuxptp-daemon -c linuxptp-daemon-container -- bash [root@helix60 /]# cat /sys/class/net/ens5f0/device/ptp/*/pins/SMA1 1 1 [root@helix60 /]# echo 0 1 > /sys/class/net/ens5f0/device/ptp/*/pins/SMA1 [root@helix60 /]# cat /sys/class/net/ens5f0/device/ptp/*/pins/SMA1 0 1
3. Check ptp clock states in metrics for FREERUN state: [kni@registry.kni-qe-61 ~]$ oc -n openshift-ptp exec -it ds/linuxptp-daemon -c linuxptp-daemon-container -- curl -v localhost:9091/metrics | grep openshift_ptp_clock_state
Actual results:
Clock state for 2nd GM interface remains locked: [kni@registry.kni-qe-61 ~]$ oc -n openshift-ptp exec -it ds/linuxptp-daemon -c linuxptp-daemon-container -- curl -v localhost:9091/metrics | grep openshift_ptp_clock_state # HELP openshift_ptp_clock_state 0 = FREERUN, 1 = LOCKED, 2 = HOLDOVER # TYPE openshift_ptp_clock_state gauge openshift_ptp_clock_state{iface="CLOCK_REALTIME",node="helix60.lab.eng.rdu2.redhat.com",process="phc2sys"} 1 openshift_ptp_clock_state{iface="eno1239x",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 1 openshift_ptp_clock_state{iface="ens3f1npx",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 1 openshift_ptp_clock_state{iface="ens5fx",node="helix60.lab.eng.rdu2.redhat.com",process="dpll"} 1 openshift_ptp_clock_state{iface="ens5fx",node="helix60.lab.eng.rdu2.redhat.com",process="ts2phc"} 1 openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="GM"} 1 openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="dpll"} 1 openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="gnss"} 1 openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="ts2phc"} 1
Expected results:
Clock state for 2nd GM interface should show GM and dpll in FREERUN: [kni@registry.kni-qe-61 ~]$ oc -n openshift-ptp exec -it ds/linuxptp-daemon -c linuxptp-daemon-container -- curl -v localhost:9091/metrics | grep openshift_ptp_clock_state # HELP openshift_ptp_clock_state 0 = FREERUN, 1 = LOCKED, 2 = HOLDOVER # TYPE openshift_ptp_clock_state gauge openshift_ptp_clock_state{iface="CLOCK_REALTIME",node="helix60.lab.eng.rdu2.redhat.com",process="phc2sys"} 1 openshift_ptp_clock_state{iface="eno1239x",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 0 openshift_ptp_clock_state{iface="ens3f1npx",node="helix60.lab.eng.rdu2.redhat.com",process="ptp4l"} 0 openshift_ptp_clock_state{iface="ens5fx",node="helix60.lab.eng.rdu2.redhat.com",process="dpll"} 0 openshift_ptp_clock_state{iface="ens5fx",node="helix60.lab.eng.rdu2.redhat.com",process="ts2phc"} 1 openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="GM"} 0 openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="dpll"} 1 openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="gnss"} 1 openshift_ptp_clock_state{iface="ens7fx",node="helix60.lab.eng.rdu2.redhat.com",process="ts2phc"} 1
Additional info:
- clones
-
OCPBUGS-28651 PtpConfigDualCardGmWpc.yaml source-cr is missing ts2phc.master 0 for 2nd card
- Closed
- is blocked by
-
OCPBUGS-28651 PtpConfigDualCardGmWpc.yaml source-cr is missing ts2phc.master 0 for 2nd card
- Closed
- links to
-
RHSA-2023:7198 OpenShift Container Platform 4.15 security update
- mentioned on