-
Notifications
You must be signed in to change notification settings - Fork 880
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
New Relic AnalysisTemplate not working (Rollout stuck) #2024
Comments
I also got this example tested: https://github.com/edmocosta/rollouts-demo I might be worse than I thought:
This actually explodes the whole controller. |
After bumping to the previous version, I was able to figure out the problem. A simple issue in the account-id for newrelic used to throw an error before in 1.1.1 and now it just swallows it. IN 1.2.0 it's creating a memory issue. |
I want to work on this issue, @pragmaticivan can you please tell me where is this error located that is swallowed in 1.2.0 |
FYI this critical bug broke our entire production cluster for many hours since the Rollout controller kept crash looping. |
@perenesenko @jessesuen @leoluz @harikrongali It looks like the fix for this is already in Any idea when you'll cut a bugfix release to resolve this? I don't see any releases since May. I'd rather not have to fork the repository to get a fix out since this is a production issue for us. |
@shakefu we can do a patch release next week |
@harikrongali Thanks so much! |
Signed-off-by: zachaller <[email protected]>
Released argo-rollouts patch v1.2.2 to address this issue: If the problem remains please reopen this issue. |
Summary
I've tried a rollout without AnalysisTemplate and it works as expected (Linkerd + Nginx)
When I add an AnalysisTemplate it just gets stuck.
usage:
Diagnostics
What version of Argo Rollouts are you running?
1.2.0
time="2022-05-07T15:41:12Z" level=info msg="Running initial measurement" analysisrun=rollouts-demo-db57cbfcd-6 metric=success-rate namespace=shared
time="2022-05-07T15:41:12Z" level=info msg="Taking 1 Measurement(s)..." analysisrun=rollouts-demo-db57cbfcd-6 namespace=shared
time="2022-05-07T15:41:12Z" level=info msg="Started syncing rollout" generation=8 namespace=shared resourceVersion=312747643 rollout=rollouts-demo
time="2022-05-07T15:41:12Z" level=info msg="Started syncing rollout" generation=1 namespace=shared resourceVersion=312698611 rollout=podinfo
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x19d9889]
goroutine 270 [running]:
github.com/argoproj/argo-rollouts/analysis.(*Controller).runMeasurements.func1({{{0xc000f5c9e0, 0xc}, {0x0, 0x0}, {0x0, 0x0}, 0x0, {0xc000f44280, 0x1a}, {0x0, ...}, ...}, ...})
/go/src/github.com/argoproj/argo-rollouts/analysis/analysis.go:334 +0x409
created by github.com/argoproj/argo-rollouts/analysis.(*Controller).runMeasurements
/go/src/github.com/argoproj/argo-rollouts/analysis/analysis.go:319 +0x34b
time="2022-05-07T15:44:25Z" level=info msg="syncing service" namespace=shared rollout=rollouts-demo service=rollouts-demo-stable
time="2022-05-07T15:44:25Z" level=info msg="syncing service" namespace=shared rollout=rollouts-demo service=rollouts-demo-canary
time="2022-05-07T15:44:25Z" level=info msg="Started syncing rollout" generation=8 namespace=shared resourceVersion=312747643 rollout=rollouts-demo
The text was updated successfully, but these errors were encountered: