Skip to content
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

Defining AnalysisTemplate In Rollout Results in Degraded State #3504

Open
2 tasks
astove17 opened this issue Apr 4, 2024 · 1 comment
Open
2 tasks

Defining AnalysisTemplate In Rollout Results in Degraded State #3504

astove17 opened this issue Apr 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@astove17
Copy link

astove17 commented Apr 4, 2024

Checklist:

  • I've included steps to reproduce the bug.
  • I've included the version of argo rollouts.

Describe the bug

InvalidSpec: The Rollout "r-name" is invalid: spec.strategy.canary.steps[2].analysis.templates: Invalid value: "at-name": AnalysisTemplate 'at-name' not found

To Reproduce

Running sync for the rollout results in an immediate degraded state due to the analysis template not coming up. The analysis template is defined in the same file. Once the AT is finally created, re-syncing will allow the Rollout to come up successfully and be healthy.

Expected behavior

Specifying the AT should not cause rollout to be degraded with the invalidspec error above.

Version

argo-rollouts: v1.4.1
argo: v2.6.7-0

Logs

# Logs for a specific rollout:

InvalidSpec: The Rollout "r-name" is invalid: spec.strategy.canary.steps[2].analysis.templates: Invalid value: "at-name": AnalysisTemplate 'at-name' not found

---
<!-- Issue Author: Don't delete this message to encourage other users to support your issue! -->
**Message from the maintainers**:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
@astove17 astove17 added the bug Something isn't working label Apr 4, 2024
@zachaller
Copy link
Collaborator

zachaller commented Apr 4, 2024

might be fixed by: #3446

Actually probably not because that is only for background ar's probably need to do the same kind of check for inline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants