Bug 2007379

Summary: Events are not generated for master offset for ordinary clock
Product: OpenShift Container Platform Reporter: Aneesh Puttur <aputtur>
Component: Cloud Native EventsAssignee: Aneesh Puttur <aputtur>
Cloud Native Events sub component: Cloud Event Proxy QA Contact:
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aos-bugs, aputtur, ijolliff, jacding, keyoung
Version: 4.10   
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2010370 (view as bug list) Environment:
Last Closed: 2022-03-10 16:12:52 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: 2010370    

Description Aneesh Puttur 2021-09-23 17:34:11 UTC
Description of problem:
Events are not generated when master offset is above or below threshold 
Version-Release number of selected component (if applicable):



Actual results:
NO events for master offset
No events when  clock class changes from passive to slave or slave to faulty 


Expected results:
Should see events for offset 
Should see events for clock class change.

Comment 1 or marziano 2022-01-06 13:20:05 UTC
We verified events generated for offset, but didn't verify class changes.

Server Version: 4.10.0-0.nightly-2021-12-21-130047
PTP Version: ptp-operator.4.10.0-202112230034-6589cc888f

PTP config:
-----------
apiVersion: ptp.openshift.io/v1
kind: PtpConfig
metadata:
  name: ptp-configs-five
  namespace: openshift-ptp
spec:
  profile:
    - name: master
      interface: ens5f1
      ptp4lOpts: -2 --summary_interval -4
      phc2sysOpts: -a -r -m -n 24 -N 8 -R 16
      ptpClockThreshold:
        holdOverTimeout: 65
        maxOffsetThreshold: 20
        minOffsetThreshold: -20
  recommend:
    - match:
        - nodeLabel: ptp/master
      priority: 10
      profile: master

Comment 5 errata-xmlrpc 2022-03-10 16:12:52 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 (Moderate: OpenShift Container Platform 4.10.3 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:0056