This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
The "on-deployed" message is sent as a false positive. #386
Unanswered
reverson-farfetch
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Is this your issue resolved? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description of the issue
We use an internal Gitlab server as a repository manager. We have a common behaviour that sometimes the Gilab has a short outage due to bunches of requests. Then when it happens we have a curious behaviour with our argocd notifications.
So, the outage is too short (most time less than one minute) the curious behaviour that I mentioned before happen when argocd repo server recover the connections with Gitlab. After the connections are recovered, the notification sends a deployed message for an application with Unkown status (it is because of the last status of the application) and it does not happen all the time when the outage happens. Sometimes the outage happens and this kind of false-positive doesn't happen.
The trigger that we are using is the default one.
Tshoot
We made a debugging to try to understand what can be happening. We didn't find a clear cause, but the thing that really get our attention was that the notification is only triggered when somehow in the annotation (
notified.notifications.argoproj.io
) about notification in the application appears a nil value.Application annotation (
notified.notifications.argoproj.io
) values:There are many notifications because this is
Notification logs:
We really don't know how this value is generated. We tried to reproduce it in our dev environment cutting the connection to Gitlab manually and recreating the connection again but we couldn't reproduce that, only once, as is in the above examples, but we couldn't trace it to reproduce again.
So, I'm here to ask for help. If someone had some issue like that or can have some idea what it can be.
We had tried to do many scenarios to reproduce it but until now we have failed.
We are using the argocd-notification
v1.2.1
version.Please, if someone can help us we'll really appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions