-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
race condition: deployment logic & tagging sometimes makes MRO fail #382
Comments
OK. I guess the best way forward here is to avoid failing, and instead, if the rollout has been started since that last check, just watch the rollout. I'll need to find out what the safest way is to determine that the rollout did actually start automatically between the check for the latest version and the |
@michaelsauter i gave this soem thought.. i guess the only way.. (as we trigger the Tagging is to .. remove the Image Trigger in the dc.. so we really own the deployment...) |
I also thought about it, but I came to a different conclusion 😄 Removing the trigger is complicated I think because many existing projects will have it, and making them update will be hard as I find the UI/UX around image triggers quite surprising. I'm not a fan of image triggers though, and it also seems like OpenShift is favouring Kubernetes-native My suggestion to fix this particular race condition: |
There seems to be a race condition, in which the version is updated by an image trigger just between aksing for the version and starting the rollout. Fixes opendevstack#382.
latest master.
error below (sometimes ... ) ... it seems a race condition (new image triggered a new deployment, set latest triggered a new deployment ... and then redeploy comes along)
The dafault nodejs quickstarter contains an 'image change' trigger ...
The text was updated successfully, but these errors were encountered: