StarlingX Integration and packaging
Go to file
Cole Walker 1f4538df28 Add collection of linuxptp patches
This commit applies several patches to the linuxptp srpm in order to
address an issue syncing multiple interfaces on a ptp node. The srpm
used is linuxptp-2.0-2.el7.src.rpm.

Patch descriptions:
base/linuxptp/centos/meta_patches:
0001 updates the srpm spec file to apply the patches during build
0002 updates the package versioning to comply with the STX format

base/linuxptp/centos/patches:
Patches 0001-0005 combine to correct a fault present when a ptp node is
configured with multiple clocks in jbod mode which results in the client
port getting stuck in the UNCALIBRATED state and unable to lock to the
Grandmaster clock. The root of the issue lies in the sanity check where
checking timestamps recieved on multiple ports will result in the
sanity_freq_limit threshold constantly being reached and the servo for
that port is repeatedly reset, preventing it from ever syncing.

The changes in patches 0001-0005 have been written by Miroslav Lichvar
on the linuxptp-devel mailing list. They are currently under review and
testing by the upstream linuxptp maintainers prior to merging. I was
able to apply them as-is to linuxptp v2.0. I have chosen to keep them as
individual patches, as that is how they will appear upstream.

Patch 0006 is my work and serves to address an issue in phc2sys
where the local ptp clocks are not synced together properly if the local
time is far behind the reference time. This issue ocurrs when phc2sys
starts and there is no client port currently synced to a grandmaster. In
the original behaviour, phc2sys selects the first configured port and
proceeds to sync all of the other clocks to it by performing the
first_step operation.

Then ptp4l will evenually lock to the Grandmaster clock, and that
single port will have its time updated to the correct value, but
phc2sys has already performed the first_step operation and will not
step the other clocks again.

My solution is to provide an option to disable the selection of a
default port by phc2sys. When no default port is selected, phc2sys waits
for ptp4l to sync to the Grandmaster before bringing the other clocks
into sync with the first_step operation.

This option is configured via the default_sync
parameter or the -D flag. The default_sync parameter is set to on by
default to in order to keep the behaviour the same as upstream linuxptp
but can be configured by users via
system service-parameter-add ptp global default_sync=0

Closes-Bug: 1930607

Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: I2f660787c6753dcd4fc4c51da7b08ab9e6f197f4
2021-06-28 14:15:22 -04:00
base Add collection of linuxptp patches 2021-06-28 14:15:22 -04:00
bmc/Redfishtool Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
ceph/ceph Address python3 string issues with subprocess 2021-06-25 12:19:10 -04:00
config Fix resize of filesystems in puppet logical_volume 2021-05-22 18:41:22 +03:00
database Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
docker/python-docker/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
filesystem Unmount all targets during drbd stop 2021-04-20 17:35:24 -05:00
gpu/gpu-operator integ: add nvidia gpu-operator helm charts 2021-03-31 17:33:41 +00:00
grub grub2: fix CVE-2020-15707 2021-01-25 04:15:59 -05:00
kubernetes Add check to avoid restarting running device plugin pod 2021-06-09 17:24:48 -04:00
ldap Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
logging/logrotate/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
networking Add alternative command to disable lldp agent for i40e devices 2021-04-19 15:06:40 -04:00
python Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
security Copy shim.efi to /pxeboot for UEFI pxeboot support 2021-05-07 11:48:35 -04:00
storage-drivers Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
tools Fix storage topology pylint 2.5.0 error 2020-04-28 02:06:08 -04:00
virt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.zuul.yaml Adding job to upload commits to GitHub 2020-02-06 10:50:16 -05:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
centos_build_layer.cfg Build layering, add layer build config file and srpm and tarball lst 2019-10-21 09:24:22 +08:00
centos_extra_downloads.lst Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_guest_image_rt.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_guest_image.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_iso_image.inc Add collection of linuxptp patches 2021-06-28 14:15:22 -04:00
centos_pkg_dirs Add collection of linuxptp patches 2021-06-28 14:15:22 -04:00
centos_pkg_dirs_installer Config file changes for packages being relocated to repo 'compile' 2019-09-05 20:28:59 -04:00
centos_pkg_dirs_rt Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_srpms_3rdparties.lst Add python-daemon to srpm list 2020-05-20 23:22:06 +08:00
centos_srpms_centos.lst Add collection of linuxptp patches 2021-06-28 14:15:22 -04:00
centos_stable_docker_images.inc Create Docker image for running Intel N3000 FPGA tools 2020-02-20 19:09:13 -05:00
centos_stable_wheels.inc Add libvirt module to stable wheels for image build 2019-04-04 22:54:04 -04:00
centos_tarball-dl.lst Upversioning armada tarball to 7ef4b86 2021-04-26 09:21:21 -04:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
distroless_stable_docker_images.inc add intel-gpu-plugin docker image to stable docker image build 2019-07-16 09:48:24 +08:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
pylint.rc Filter new pylint warning W0707 2020-09-02 15:16:41 -04:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini add isolcpus device plugin for kubernetes 2021-04-01 11:10:09 -06:00

integ

StarlingX Integration