Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2704

Event publish errors out when predicates fail

    XMLWordPrintableJSON

Details

    Description

      I consistently see this error in the logs when events are published.

      I did put some debug logs and found that I only get it when the events for untolerated taints are published.

      E0618 17:43:17.858946       1 event_broadcaster.go:270] "Server rejected event (will not retry!)" err="Event \"<<pod-name>>.17da2a31072bb32f\" is invalid: [action: Required value, reason: Required value]" event="&Event{ObjectMeta:

      {<<pod-name>>.17da2a31072bb32f  dpi-dev    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []}

      ,EventTime:2024-06-18 17:43:17.857332069 +0000 UTC m=+84279.014490005,Series:nil,ReportingController:yunikorn,ReportingInstance:yunikorn-yunikorn-scheduler-59bdc88fdc-7h5bt,Action:,Reason:,Regarding:{Pod <<namespace>> <<pod-name>> 5c90315c-a07d-4801-9ecc-baf61ee45f11 v1 4323324038 },Related:nil,Note:Predicate failed for request '5c90315c-a07d-4801-9ecc-baf61ee45f11' with message: 'node(s) had untolerated taint {<<key>>: <<value>>}',Type:Normal,DeprecatedSource:{ },DeprecatedFirstTimestamp:0001-01-01 00:00:00 +0000 UTC,DeprecatedLastTimestamp:0001-01-01 00:00:00 +0000 UTC,DeprecatedCount:0,}"

      Attachments

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              mitdesai Mit Desai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: