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

Panic in application controller #790

Closed
alexmt opened this issue Nov 16, 2018 · 1 comment
Closed

Panic in application controller #790

alexmt opened this issue Nov 16, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@alexmt
Copy link
Collaborator

alexmt commented Nov 16, 2018

Application controller crashes during app state reconsilation

ERRO[0031] Recovered from panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 83 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.10.3/libexec/src/runtime/debug/stack.go:24 +0xb1
github.com/argoproj/argo-cd/controller.(*ApplicationController).processAppRefreshQueueItem.func1(0xc4204fe300, 0x277cac0, 0xc42040c060)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/controller/appcontroller.go:511 +0x63
panic(0x2812ca0, 0xc420963b00)
	/usr/local/Cellar/go/1.10.3/libexec/src/runtime/panic.go:502 +0x24a
github.com/argoproj/argo-cd/util/diff.removeNamespaceAnnotation(0xc420455e28, 0x0)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/util/diff/diff.go:140 +0x272
github.com/argoproj/argo-cd/util/diff.ThreeWayDiff(0xc420455e20, 0xc420455df0, 0xc420455e00, 0x0, 0x0, 0x0)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/util/diff/diff.go:74 +0x78
github.com/argoproj/argo-cd/util/diff.Diff(0xc420455df0, 0xc420455e00, 0x0)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/util/diff/diff.go:41 +0x112
github.com/argoproj/argo-cd/util/diff.DiffArray(0xc420dec800, 0xa8, 0x100, 0xc420a85180, 0xa8, 0xa8, 0x0, 0x0, 0x0)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/util/diff/diff.go:256 +0x250
github.com/argoproj/argo-cd/controller.(*appStateManager).CompareAppState(0xc420430ff0, 0xc4203d8000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/controller/state.go:257 +0x11ff
github.com/argoproj/argo-cd/controller.(*ApplicationController).processAppRefreshQueueItem(0xc4204fe300, 0x1)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/controller/appcontroller.go:545 +0x731
github.com/argoproj/argo-cd/controller.(*ApplicationController).Run.func1()
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/controller/appcontroller.go:115 +0x36
github.com/argoproj/argo-cd/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc4204d2310)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x56
github.com/argoproj/argo-cd/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc4204d2310, 0x3b9aca00, 0x0, 0x1, 0xc4200b48a0)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xec
github.com/argoproj/argo-cd/vendor/k8s.io/apimachinery/pkg/util/wait.Until(0xc4204d2310, 0x3b9aca00, 0xc4200b48a0)
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d
created by github.com/argoproj/argo-cd/controller.(*ApplicationController).Run
	/Users/amatyushentsev/root/go/src/github.com/argoproj/argo-cd/controller/appcontroller.go:114 +0x33b 
@alexmt alexmt added bug Something isn't working P1 labels Nov 16, 2018
alexmt pushed a commit to alexmt/argo-cd that referenced this issue Nov 16, 2018
@alexmt alexmt closed this as completed Nov 16, 2018
@Kampe
Copy link
Contributor

Kampe commented Aug 21, 2020

Hello! This has become an issue again with 1.7.0-RC1

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