Bug 2007379 - Events are not generated for master offset for ordinary clock
Summary: Events are not generated for master offset for ordinary clock
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Native Events
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.10.0
Assignee: Aneesh Puttur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2010370
TreeView+ depends on / blocked
 
Reported: 2021-09-23 17:34 UTC by Aneesh Puttur
Modified: 2022-03-10 16:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2010370 (view as bug list)
Environment:
Last Closed: 2022-03-10 16:12:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github redhat-cne cloud-event-proxy pull 74 0 None Merged BUG 2007379: Added event for master interface 2021-10-04 19:23:54 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:13:13 UTC

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


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