Packet loss between master clock and slave with PTP configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Alexander Kozyrev |
Bug Description
Brief Description
-----------------
During test on Inflexdb sample data for PTP configuration it was observed that there was always time offset value for all the nodes are 0 nanoseconds all the time. Further investigation showed that master clock which was running on controller-1 inability to send PTP packets and timeouts. This was observed in different configuration of PTP such as hardware and software mode with l2 and udp.
2019-04-
2019-04-
2019-04-
2019-04-
2019-04-
And slave clocks warns us about some issues with master clock communication:
2019-04-
name: ptp_value
---------------
time host type type_instance value
1554821967317256000 compute-1 time_offset nsec 0
1554821927602734000 controller-0 time_offset nsec 0
1554821925682506000 compute-0 time_offset nsec 0
1554821907316409000 compute-1 time_offset nsec 0
1554821867601747000 controller-0 time_offset nsec 0
1554821865681648000 compute-0 time_offset nsec 0
1554821847315126000 compute-1 time_offset nsec 0
1554821147602777000 controller-0 time_offset nsec 0
1554821087602274000 controller-0 time_offset nsec 0
1554821027602698000 controller-0 time_offset nsec 0
1554820981347486000 compute-0 time_offset nsec 0
1554820967602316000 controller-0 time_offset nsec 0
1554820932358006000 compute-1 time_offset nsec 0
1554820921347174000 compute-0 time_offset nsec 0
1554820907602187000 controller-0 time_offset nsec 0
1554820872358392000 compute-1 time_offset nsec 0
name: ptp_value
sudo /usr/sbin/pmc -u -b 0 'GET TIME_STATUS_NP'
sending: GET TIME_STATUS_NP
controller-0:~$ sudo /usr/sbin/pmc -u -b 0 'GET TIME_STATUS_NP'
sending: GET TIME_STATUS_NP
controller-0:~$ sudo /usr/sbin/pmc -u -b 0 'GET TIME_STATUS_NP'
sending: GET TIME_STATUS_NP
| | |
Severity
--------
Provide the severity of the defect.
Major
Steps to Reproduce
------------------
1. Install any regular system
2. Modify NTP to PTP
system ntp-modify -–enabled False
system ptp-modify –enabled True --mode=software --transport=l2 mechanism=p2p
3. lock and unlock all the hosts
4. execute influx -database=collectd -execute="SELECT * FROM ptp_value WHERE type='time_offset' AND type_instance=
Expected Behavior
------------------
Master clock able to send packets to slave in other hosts.
Actual Behavior
----------------
As per description master clock from controller-1 inability to send packets to slave.
Reproducibility
---------------
N/A
System Configuration
-------
Regular system
Branch/Pull Time/Commit
-------
2019-04-07 23:30:01
Last Pass
---------
n/a
Timestamp/Logs
--------------
n/a
Test Activity
-------------
Feature test
Marking as release gating; issue with ptp functionality; requires further investigation.