Bug 2034354

Summary: [4.9] PTP daemon scheduling policy and priority configurablility
Product: OpenShift Container Platform Reporter: Joseph Richard <josricha>
Component: NetworkingAssignee: Joseph Richard <josricha>
Networking sub component: ptp QA Contact: obochan <obochan>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aireilly, browsell, bzhai, djuran, keyoung, obochan, pvaanane, yliu1
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2016216 Environment:
Last Closed: 2022-02-10 06:33:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2016216    
Bug Blocks:    

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