integ/centos_iso_image.inc
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

212 lines
2.3 KiB
PHP

# List of packages to be included/installed in ISO
# If these have dependencies, they will be pulled in automatically
#
# qemu-kvm-ev
qemu-kvm-ev
qemu-img-ev
qemu-kvm-tools-ev
# libvirt
libvirt
libvirt-docs
libvirt-daemon
libvirt-daemon-config-network
libvirt-daemon-config-nwfilter
libvirt-daemon-driver-network
libvirt-daemon-driver-nwfilter
libvirt-daemon-driver-nodedev
libvirt-daemon-driver-secret
libvirt-daemon-driver-storage
libvirt-daemon-driver-qemu
libvirt-daemon-driver-lxc
libvirt-client
# python-ryu
python2-ryu
python-ryu-common
# lldpd
lldpd
# tss2
tss2
# libtpms
libtpms
# python-3parclient
python-3parclient
# python-lefthandclient
python-lefthandclient
# docker-distribution
docker-distribution
# helm
helm
# armada
armada
# rpm
rpm-plugin-systemd-inhibit
# dpkg
dpkg
# ldapscripts
ldapscripts
# drbd
drbd
drbd-utils
drbd-udev
drbd-pacemaker
drbd-heartbeat
drbd-bash-completion
# initscripts
initscripts
# setup
setup
# nss-pam-ldapd
nss-pam-ldapd
# nfs-utils series package
# dhcp
dhcp
dhclient
# openssh
openssh
openssh-clients
openssh-server
# facter
facter
# vim
vim-enhanced
# python
python
# libvirt-python
python2-libvirt
# lighttpd
lighttpd
lighttpd-fastcgi
lighttpd-mod_geoip
lighttpd-mod_mysql_vhost
# linuxptp
linuxptp
# logrotate
logrotate
# novnc
novnc
# sudo
sudo
# config files
# openldap
openldap
openldap-servers
openldap-clients
# openvswitch
openvswitch
# libevent
libevent
# tpm2-tools
tpm2-tools
# audit
# puppet
puppet
# systemd
systemd
# tboot
tboot
# memcached
memcached
# kubernetes
kubernetes
kubernetes-master
kubernetes-node
kubernetes-kubeadm
kubernetes-client
containerd
k8s-pod-recovery
# resource-agents
resource-agents
# isolcpus device plugin for K8s
isolcpus-device-plugin
# haproxy
haproxy
# iptables
# python-psycopg2
python-psycopg2
# dnsmasq
dnsmasq
dnsmasq-utils
# parted
parted
# python-keyring
python-keyring
# grub2
grub2-tools
grub2-efi-x64-modules
# python2-ruamel-yaml
python2-ruamel-yaml
# redfish tool
Redfishtool
# kvm-timer-advance (AIO and worker nodes only)
kvm-timer-advance
# aws packages for interacting with amazon aws registry
# botocore is an unspecified requirement of boto3
python2-botocore
python-boto3
# Pf bbdev configuration tool for ACC100 (Mt. Bryce)
pf-bb-config