better-printer-5326
02/27/2024, 10:37 PM@trigger_on_finish(flows=["FlowB", "FlowC"]) on FlowD . However, it doesn’t seem to trigger FlowD, does anybody have any idea of where to look to debug this issue?square-wire-39606
02/27/2024, 10:49 PMbetter-printer-5326
02/27/2024, 11:01 PM{
"caller": "sensor/trigger_handler.go:143",
"expr": "metaflowFlowBend_mlu7&&metaflowFlowCend_movu",
"level": "info",
"logger": "argo-events.sensor",
"msg": "Evaluating",
"parameters": {
"metaflowFlowCend_movu": true
},
"sensorName": "flowd",
"ts": 1709073796.278123
}
Did it actually succeed to evaluate? If it did, then why didn’t it create the flow?user
02/28/2024, 1:47 AMFlowB or FlowC complete, there is an even published. You can see this in the stderr of the end step of a flow
Argo Event (metaflow.FlowB.end) published.
• This would mean that the event was sent to the webhook pod
• Look at the logs of the webhook pod for any errors. The webhook pod should be writing these events to the eventbus/Kafka.
• Confirm at that eventbus/Kafka pods are running. Check if there are any errors there.
• For every @trigger... that you have, there is a sensor object. And that sensor object has a corresponding deployment. So, look for K8s deployment objects with one replica for that sensor. The name of this deployment will typically start with the flow name like ... flowdflow-sensor-... . This deployment has 1 replica.
• Take a look at the logs of this pod. This should indicate whether this sensor deployment pod was able to read from eventbus/kafka
• This sensor deployment should also indicate whether it was able to trigger FlowD or reasons why it couldn't.
• And above all, most of these components are setup, monitored and managed by two main controllers: argo-events-controller and argo-workflows-controller. Take a look at the logs of these two pods to see why they didn't start the flow.better-printer-5326
03/10/2024, 12:39 AM• Ensure that whenorFlowBcomplete, there is an even published. You can see this in theFlowCof thestderrstep of a flowend
Copy codeArgo Event (metaflow.FlowB.end) published.
FlowB end and FlowC end events indeed get produced. I see the events in the logs and in the Kafka topic
• Look at the logs of theNo errors inpod for any errors. Thewebhookpod should be writing these events to the eventbus/Kafka.webhook
webhook, also as mentioned above I see them in the Kafka topic.
• For everyYes, I see sensorsthat you have, there is a sensor object. And that sensor object has a corresponding deployment. So, look for K8s deployment objects with one replica for that sensor. The name of this deployment will typically start with the flow name like ...@trigger.... This deployment has 1 replica.flowdflow-sensor-...
flowb, flowc, and flowd with 1 replica
• Take a look at the logs of this pod. This should indicate whether this sensor deployment pod was able to read from eventbus/kafkaYeah it does. I attached logs.
• This sensor deployment should also indicate whether it was able to triggerIt doesn’t seem to even try to process the trigger. In the other sensors I see a log statement asor reasons why it couldn’t.FlowD
Successfully processed trigger 'flowb'. I don’t see it here. All I see is what I attached in the logs.
I haven’t seen any errors in Argo Workflows or Argo Events controllers. Not sure what is wrong honestly.better-printer-5326
03/10/2024, 12:44 AMEventBus . Do you think the topic definition messes up anything? I can maybe try without it.square-wire-39606
03/10/2024, 6:21 PMbetter-printer-5326
03/10/2024, 6:33 PMuser
03/11/2024, 6:45 PMbetter-printer-5326
03/11/2024, 6:58 PMtransactionalId authz, and then it worked fine afterwards.better-printer-5326
03/11/2024, 6:59 PMbetter-printer-5326
03/11/2024, 7:31 PMbetter-printer-5326
03/12/2024, 4:57 PMbetter-printer-5326
03/12/2024, 5:11 PMuser
03/12/2024, 5:17 PM