You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks, I'm troubleshooting an issue that I've come across with Sensors. In our trigger, we sequentially call for the creation of several k8s workflow templates. Finally, we create and run a k8s workflow that relies on the previous templates.
The issue that arises is when the Sensor is called for the first time, we get the following error from the workflow:
"invalid spec: templates.create.tasks.test-preflight template reference tests.preflight-tests not found"
In this case, the workflow couldn't find a reference from our wtf-tests template (created within the trigger). When I call the sensor a second time, the workflow is able to complete without issue.
I recreated the scenario several times and occasionally the workflow will complete successfully on the first call. Most times, however, a second call is needed. This leads me to believe that the entries in the trigger section either aren't called sequentially, or do not wait for the previous steps to complete. I guess what I'm trying to figure out is if this is the intended behavior or a possible bug?
Environment:
Kubernetes: v 1.27
Argo: v 3.5.4
Argo Events: v 1.9.0
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had
any activity in the last 60 days. It will be closed if no further activity
occurs. Thank you for your contributions.
Hi folks, I'm troubleshooting an issue that I've come across with Sensors. In our trigger, we sequentially call for the creation of several k8s workflow templates. Finally, we create and run a k8s workflow that relies on the previous templates.
Sensor Yaml
The issue that arises is when the Sensor is called for the first time, we get the following error from the workflow:
"invalid spec: templates.create.tasks.test-preflight template reference tests.preflight-tests not found"
In this case, the workflow couldn't find a reference from our wtf-tests template (created within the trigger). When I call the sensor a second time, the workflow is able to complete without issue.
I recreated the scenario several times and occasionally the workflow will complete successfully on the first call. Most times, however, a second call is needed. This leads me to believe that the entries in the trigger section either aren't called sequentially, or do not wait for the previous steps to complete. I guess what I'm trying to figure out is if this is the intended behavior or a possible bug?
Environment:
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: