-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.14, 4.15
-
Low
-
No
-
CNF RAN Sprint 249
-
1
-
False
-
-
Release Note Not Required
-
In Progress
-
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).
-
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-28914 PTP is sending FREERUN events with "event-not-found" resource when clock is locked
- Closed
- is cloned by
-
OCPBUGS-28914 PTP is sending FREERUN events with "event-not-found" resource when clock is locked
- Closed
- links to
-
RHEA-2024:0040 OpenShift Container Platform 4.16.z extras update