argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
18.01k stars 5.49k forks source link

Show more information in the UI about why Rollout gets aborted #20849

Open andrii-korotkov-verkada opened 5 days ago

andrii-korotkov-verkada commented 5 days ago

Summary

Extract information from Argo Rollout or the controller to give users more context why rollout was aborted.

Motivation

Right now if the failure happened on the step before analysis run is configured to happen, there might be no indication what went wrong, e.g. no bad events and generic message in status like

    - lastTransitionTime: '2024-11-19T21:48:19Z'
      lastUpdateTime: '2024-11-19T21:48:19Z'
      message: Rollout aborted update to revision 386
      reason: RolloutAborted
      status: 'False'
      type: Progressing

The info+ logs weren't helpful either.

Proposal

Add more information to the UI about why rollout was aborted, showing it in the Events and/or status.

crenshaw-dev commented 5 days ago

This might be a rollouts issue, if there's truly nothing else helpful in the status field.

andrii-korotkov-verkada commented 5 days ago

Let me open a Rollout issue as well then.

andrii-korotkov-verkada commented 5 days ago

https://github.com/argoproj/argo-rollouts/issues/3957