Bug 2034354 - [4.9] PTP daemon scheduling policy and priority configurablility
Summary: [4.9] PTP daemon scheduling policy and priority configurablility
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.9.z
Assignee: Joseph Richard
QA Contact: obochan
URL:
Whiteboard:
Depends On: 2016216
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-20 18:49 UTC by Joseph Richard
Modified: 2022-02-10 06:33 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2016216
Environment:
Last Closed: 2022-02-10 06:33:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift linuxptp-daemon pull 67 0 None open Bug 2034354: Add scheduling to operator 4.9 2022-01-17 00:36:32 UTC
Github openshift ptp-operator pull 167 0 None open Bug 2034354: Add scheduling to operator 2022-01-06 14:52:28 UTC
Red Hat Product Errata RHBA-2022:0340 0 None None None 2022-02-10 06:33:38 UTC

Comment 2 Joseph Richard 2022-01-17 00:36:01 UTC
Also requires change in https://github.com/openshift/linuxptp-daemon/pull/67

Comment 4 obochan 2022-02-02 21:34:05 UTC
The issue is validate via version 4.9.18

ptp-operator.4.9.0-202201261125     PTP Operator                 4.9.0-202201261125              Succeeded



[obochan@obochan ~]$ oc version 
Client Version: 4.8.0
Server Version: 4.9.18
Kubernetes Version: v1.22.3+e790d7f
[obochan@obochan ~]$ 


did multiple value changes and it works.

ps -ef | grep ptp4l
root      250306   48228  0 21:07 ?        00:00:00 /usr/sbin/phc2sys -a -r -n 24 -m -u 1 -z /var/run/ptp4l.0.socket -t [ptp4l.0.config]
root      250370   48228  0 21:07 ?        00:00:02 /usr/sbin/ptp4l -f /var/run/ptp4l.0.config -2 -s --summary_interval -4 -m
root      296546  292935  0 21:24 pts/0    00:00:00 grep --color=auto ptp4l
[root@cnfocto2 /]# ch
chacl       chage       chardetect  chcon       chcpu       chgpasswd   chgrp       chkconfig   chmem       chmod       chown       chpasswd    chroot      chrt
[root@cnfocto2 /]# chrt 250370
chrt: bad usage
Try 'chrt --help' for more information.
[root@cnfocto2 /]# chrt -p 250370
pid 250370's current scheduling policy: SCHED_FIFO
pid 250370's current scheduling priority: 65

Comment 6 errata-xmlrpc 2022-02-10 06:33:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.9.19 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:0340


Note You need to log in before you can comment on or make changes to this bug.