Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2051593

Summary: Summary Interval Hardcoded in PTP Operator if Set in the Global Body Instead of Command Line
Product: OpenShift Container Platform Reporter: Ken Young <keyoung>
Component: NetworkingAssignee: Joseph Richard <josricha>
Networking sub component: ptp QA Contact: obochan <obochan>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: anusaxen, yliu1
Version: 4.10   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:47:50 UTC Type: Bug
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:    
Bug Blocks: 2055358    
Attachments:
Description Flags
a yaml to reproduce the problem none

Description Ken Young 2022-02-07 15:14:14 UTC
Created attachment 1859597 [details]
a yaml to reproduce the problem

Description of problem:
When summary interval is not set on the command line, the PTP operator adds "--summary_interval=1" to the command line over-riding the settings in

Version-Release number of selected component (if applicable):
4.10 - needs to be backported 

How reproducible:
100%

Steps to Reproduce:
1.  remove any summary interval specification in the ptp4l command line
2.  Set summary interval in the global section of the ptp configuration yaml (i.e., -4)
3.

Actual results:
The running ptp4l daemon will have summary interval = 1

Expected results:
The running ptp4l daemon will have summary interval = -4

Additional info:

Comment 3 obochan 2022-03-30 08:19:57 UTC
The issue is verified for 4.10 

The summary interval Global config don't have priority over the command line in case it is configured if the summary configuration is missing in the global config, the default config will work which is 1.

Comment 4 yliu1 2022-03-31 19:07:41 UTC
@

Comment 7 errata-xmlrpc 2022-08-10 10:47:50 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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/RHSA-2022:5069