Ahh I found the support article that talks about OpenShift 4 and PTP https://access.redhat.com/solutions/5106141
If you don't have access to that solution the crux of it is that the PTP operator is for baremetal nodes (so probably not you, as you mentioned OpenStack). The chrony config they mention is: $ cat << EOF | base64 -w0 refclock PHC /dev/ptp0 poll 3 dpoll -2 offset 0 driftfile /var/lib/chrony/drift makestep 1.0 3 rtcsync logdir /var/log/chrony EOF On Wed, 28 Oct 2020 at 22:32, Joel Pearson <japear...@agiledigital.com.au> wrote: > Hi Benjamin, > > Have you checked if you actually need it? At least enterprise openshift > 4.x already had ptp support in the kernel (without a module), as I bumped > into it earlier in the year for PTP Azure syncing, I opened a support > ticket and it turned out I just needed this in chrony.conf > > refclock PHC /dev/ptp0 poll 3 dpoll -2 offset 0 > > So I think it'd be worth checking if you already have /dev/ptp0 available > before installing linuxptp. I realise OKD uses Fedora Core OS instead of > RedHat Core OS, so the default kernel modules might be different. > > Here are some docs for configuring chrony > <https://docs.okd.io/latest/installing/install_config/installing-customizing.html#installation-special-config-crony_installing-customizing>, > I think you just need to switch the iburst line for the refclock one. > > Otherwise, if the PTP support you need is more complicated than I needed > on Azure, you could potentially look at the specific PTP operator > <https://docs.okd.io/latest/networking/multiple_networks/configuring-ptp.html> > in the OKD docs. > > Hope this helps. > > Thanks, > > Joel > > > On Sat, 24 Oct 2020 at 03:00, Benjamin Guillon < > benjamin.guil...@cc.in2p3.fr> wrote: > >> Hello, >> >> I'm deploying an OKD4 cluster on Openstack. >> I wish to configure NTP on my nodes and for that I need to install a PTP >> dependency: linuxptp. >> And enable the kvm_ptp module in the kernel. >> >> However, I couldn't manage to install the package through ignition. >> I had to do it manually with rpm-ostree: rpm-ostree install linuxptp. >> >> Am I missing something here? >> How am I supposed to provide packages or drivers cluster wide through >> Ignition? >> Can such a task be done through the MachineConfig Operator? >> >> Thanks for the help! >> -- >> Benjamin Guillon >> CNRS/IN2P3 Computing Center >> 21 Avenue Pierre de Coubertin, CS70202 >> 69627 Villeurbanne Cedex, France >> _______________________________________________ >> users mailing list >> users@lists.openshift.redhat.com >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> > >
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users