-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.14, 4.15
-
No
-
CNF RAN Sprint 249
-
1
-
False
-
-
1/25: this was design intended, need to make design decision whether we want it to behave differently (e.g. not sending any event at all).
This is a clone of issue OCPBUGS-27301. The following is the description of the original issue:
—
Description of problem:
cloud-event-consumer is receiving "event-not-found" for PTP FREERUN resource
Version-Release number of selected component (if applicable):
4.14
How reproducible:
100%
Steps to Reproduce:
1. Deploy OCP 4.14 SNO with ptp-operator 4.14
2. Deploy cloud-consumer
3. Check cloud-event-consumer logs:
[kni@registry.kni-qe-28 ~]$ oc logs -n cloud-events cloud-consumer-deployment-769b45dc74-7w7h9 cloud-event-consumer [...] time="2024-01-17T20:03:19Z" level=debug msg="Got CurrentState: {\"specversion\":\"0.3\",\"id\":\"2d300171-fa4f-4638-8282-593bd73cb122\",\"source\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/sync/sync-status/os-clock-sync-state\",\"type\":\"event.sync.sync-status.os-clock-sync-state-change\",\"subject\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/sync/sync-status/os-clock-sync-state\",\"datacontenttype\":\"application/json\",\"time\":\"2024-01-17T20:03:19.150838053Z\",\"data\":{\"version\":\"v1\",\"values\":[{\"resource\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/event-not-found\",\"dataType\":\"notification\",\"valueType\":\"enumeration\",\"value\":\"FREERUN\"},{\"resource\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/event-not-found\",\"dataType\":\"metric\",\"valueType\":\"decimal64.3\",\"value\":\"0\"}]}} " time="2024-01-17T20:03:19Z" level=debug msg="Got CurrentState: {\"specversion\":\"0.3\",\"id\":\"b3b77b01-06e0-4d6d-856b-c31580a82551\",\"source\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/sync/ptp-status/lock-state\",\"type\":\"event.sync.ptp-status.ptp-state-change\",\"subject\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/sync/ptp-status/lock-state\",\"datacontenttype\":\"application/json\",\"time\":\"2024-01-17T20:03:19.151260338Z\",\"data\":{\"version\":\"v1\",\"values\":[{\"resource\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/event-not-found\",\"dataType\":\"notification\",\"valueType\":\"enumeration\",\"value\":\"FREERUN\"},{\"resource\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/event-not-found\",\"dataType\":\"metric\",\"valueType\":\"decimal64.3\",\"value\":\"0\"}]}} " time="2024-01-17T20:03:19Z" level=debug msg="Got CurrentState: {\"specversion\":\"0.3\",\"id\":\"212b0fd2-db46-4080-8f6d-08271237a512\",\"source\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/sync/ptp-status/ptp-clock-class-change\",\"type\":\"event.sync.ptp-status.ptp-clock-class-change\",\"subject\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/sync/ptp-status/ptp-clock-class-change\",\"datacontenttype\":\"application/json\",\"time\":\"2024-01-17T20:03:19.151663911Z\",\"data\":{\"version\":\"v1\",\"values\":[{\"resource\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/event-not-found\",\"dataType\":\"metric\",\"valueType\":\"decimal64.3\",\"value\":\"0\"}]}} "
Actual results:
event-not-found:
17T20:03:19.151260338Z\",\"data\":{\"version\":\"v1\",\"values\":[{\"resource\":\"/cluster/node/helix48.ptp.lab.eng.bos.redhat.com/event-not-found\",\"dataType\":\"notification\",\"valueType\":\"enumeration\",\"value\":\"FREERUN\"},
Expected results:
No FREERUN event should be generated at all
Additional info:
This is occurring in 4.15 with ptp-operator.v4.15.0-202401152249 as well
- blocks
-
OCPBUGS-28919 PTP is sending FREERUN events with "event-not-found" resource when clock is locked
- Closed
- clones
-
OCPBUGS-27301 PTP is sending FREERUN events with "event-not-found" resource when clock is locked
- Closed
- is blocked by
-
OCPBUGS-27301 PTP is sending FREERUN events with "event-not-found" resource when clock is locked
- Closed
- is cloned by
-
OCPBUGS-28919 PTP is sending FREERUN events with "event-not-found" resource when clock is locked
- Closed
- links to
-
RHSA-2023:7197 OpenShift Container Platform 4.15.z security update