argoproj / argo-rollouts

Progressive Delivery for Kubernetes
https://argo-rollouts.readthedocs.io/
Apache License 2.0
2.79k stars 874 forks source link

Argo rollouts controller terminating preview pod when rolling back into previous version #3595

Open tiverive opened 6 months ago

tiverive commented 6 months ago

Checklist:

Describe the bug

Hello, so I'm currently experiencing an issue in which I cannot roll back an argo blue green deployment to a previous docker image version because the preview container gets terminated before the preview service gets associated with it. Not sure if this is a setting misconfiguration or what.

To Reproduce

  1. Clicking the rollback button

Expected behavior

Rolling back should display a new revision with the label preview attached to it.

Screenshots

Version

Logs

# Paste the logs from the rollout controller

# Logs for the entire controller:
kubectl logs -n argo-rollouts deployment/argo-rollouts

# Logs for a specific rollout:
kubectl logs -n argo-rollouts deployment/argo-rollouts | grep rollout=<ROLLOUTNAME

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

tiverive commented 6 months ago

logs.txt

More artifacts found here https://cloud-native.slack.com/archives/C01U781DW2E/p1716493104235989

tiverive commented 5 months ago

Update: disabling auto syncing allows rollbacks to work. My colleague found some articles that might be related

https://github.com/argoproj/argo-cd/issues/12897 https://github.com/argoproj/argo-cd/issues/12897 https://github.com/argoproj/argo-rollouts/discussions/2571