notifications-engine icon indicating copy to clipboard operation
notifications-engine copied to clipboard

Weird behavior of notification-service

Open Miekus opened this issue 2 years ago • 2 comments
trafficstars

Describe the bug Our notification-controller continuously sends errors : " level=error msg="failed to execute when condition: cannot fetch phase from <nil> (1:27)\n | app.status.operationState.phase in ['Running']\n | ..........................^"

" level=error msg="failed to execute oncePer condition: cannot fetch revision from <nil> (1:38)\n | app.status.operationState.syncResult.revision\n | .....................................^" Its throwing this kind of errors for almost all triggers

From argo ui i don't see any sync problems also the notification-service pods seems working as the should so . Can anyone explain why the errors are send?

Triggers section: triggers: trigger.on-deployed: | - description: Application is synced and healthy. Triggered once per commit. oncePer: app.status.operationState.syncResult.revision send: - app-deployed when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy' trigger.on-health-degraded: | - description: Application has degraded send: - app-health-degraded when: app.status.health.status == 'Degraded' trigger.on-sync-failed: | - description: Application syncing has failed send: - app-sync-failed when: app.status.operationState.phase in ['Error', 'Failed'] trigger.on-sync-running: | - description: Application is being synced oncePer: app.status.sync.revision send: - app-sync-running when: app.status.operationState.phase in ['Running'] trigger.on-sync-status-unknown: | - description: Application status is 'Unknown' send: - app-sync-status-unknown when: app.status.sync.status == 'Unknown' trigger.on-sync-succeeded: | - description: Application syncing has succeeded send: - app-sync-succeeded when: app.status.operationState.phase in ['Succeeded']

We have following set up: Argo: 2.6.4 Argo helm chart: 5.26.0

Istio: 1.14 Private GKE cluster: 1.23

Miekus avatar Mar 16 '23 10:03 Miekus

I have same issue.

surreal-xiyichan avatar Aug 31 '23 15:08 surreal-xiyichan

I think it is duplicated with https://github.com/argoproj/notifications-engine/issues/71

pasha-codefresh avatar Sep 05 '23 08:09 pasha-codefresh