PTP When ts2phc configured on same host, ptp4l on another NIC will not raise alarm for ptp no-lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Andre Mauricio Zelak |
Bug Description
Brief Description
-----------------
When ts2phc configured on same host, ptp4l on another NIC will not raise alarm for ptp no-lock.
This is an unusual configuration hence the minor severity.
Severity
--------
Minor
Steps to Reproduce
------------------
1. Configure two ptp4l instances, one whose interfaces are on a NIC disciplined
by a GNSS 1PPS clock (ptp4l-inst1), and the the other ptp4l instance
(ptp4l-inst2) whose interfaces are on a NIC not displined by neither
a GNSS nor a SMA1 clock.
2. Configure a phc2sys and set the nmea serial port to the NIC displined by GNSS.
It's important to set the nmea serial port, so a primary NIC is configured.
Start remote PTP sources for both ptp4l instances.
3. Remove remote PTP source for inst1.
Expected Behavior
------------------
ptp4l-inst1 "not locked to remote PTP Grand Master" alarm is raised.
Actual Behavior
----------------
No "not locked to remote PTP Grand Master" raised.
Reproducibility
---------------
100%
System Configuration
-------
All
Branch/Pull Time/Commit
-------
Found on 22.12 MR2, but affects older and later version as well.
Last Pass
---------
Unknown
Timestamp/Logs
--------------
alarm
[sysadmin@
+------
| Alarm ID | Reason Text | Entity ID | Severity | Time Stamp |
+------
| 100.119 | controller-1 Precision Time Protocol (PTP) clocking is out of | host=controller-1. | minor | 2024-03-21T1 |
| | tolerance by 79.196 microsecs | instance=ptp4.ptp= | | 5:32:31. |
| | | out-of-tolerance | | 949867 |
| | | | | |
| 100.119 | controller-1 Precision Time Protocol (PTP) clocking is out of | host=controller-1. | minor | 2024-03-21T1 |
| | tolerance by 79.147 microsecs | instance=ptp1.ptp= | | 5:32:31. |
| | | out-of-tolerance | | 395956 |
| | | | | |
PTP status (first port changed from SLAVE to MASTER)
controller-1:~$ sudo pmc -u -b 0 -f /etc/linuxptp/
Password:
sending: GET PORT_DATA_SET
507c6f.
portIdentity 507c6f.
portState MASTER
logMinDelayRe
peerMeanPathDelay 0
logAnnounceIn
announceRecei
logSyncInterval 0
delayMechanism 1
logMinPdelayR
versionNumber 2
507c6f.
portIdentity 507c6f.
portState MASTER
logMinDelayRe
peerMeanPathDelay 0
logAnnounceIn
announceRecei
logSyncInterval 0
delayMechanism 1
logMinPdelayR
versionNumber 2
Test Activity
-------------
Feature testing.
Workaround
----------
None.
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 stx.networking |
Changed in starlingx: | |
assignee: | nobody → Andre Mauricio Zelak (azelak) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /monitoring/ +/922514
Review: https:/