Closed cdlliuy closed 2 years ago
@cdlliuy in the logs there is an issue with labels. in 1.2.0, there is an extra validation added for matching labels as opposed to 1.1.o where it threw a warning.
@harikrongali ,
do you mean I need to downgrade to 1.1.x to fix the issue?
is that an regression bug in 1.2.x? any plan to fix it?
no this is not a bug but validation is now returning as error instead of warning. Seems like replicaSet for revision2 is invalid. You can delete revision2 and rollout will progress.
@harikrongali , but the wrong label reported in the log is rollouts-pod-template-hash":"5f5684759c"}` which is created by rollout directly, it is not a user error.
Also, for "delete revision2", is there any simple way handling by rollout directly? Should the rollout user setup a separate script to detect which replicaset is wrong, and manually delete it?
Summary
Argo rollout get stuck in "processing" after abort
I first deployed revision1 successfully. then with revision2 (assuming as a bad build), I manually "abort" it. Then, I updated the image for revision 3 (assuming as a fixed build)
I expected the revision3 is rolling out along with revision 1, but it didn't. The replicas of revision3 is scaled down directly after deployment.
My rollout definition:
The issue happened when "CanaryMetadata" & "StableMetadata" attached. If I removed them, the behavior is good.
Diagnostics
1.2.0
Paste the logs from the rollout controller
The log below states that the invalid label "rollouts-pod-template-hash", but this label is attached by argo itself, correct?
Logs for the entire controller:
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.