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

BLUE-GREEN deployment of kubewatch micro-service is failed to be done after updating devtron from another branch. #627

Closed
2 tasks done
pawan-59 opened this issue Aug 4, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@pawan-59
Copy link
Contributor

pawan-59 commented Aug 4, 2021

Checklist:

  • I've searched in the docs and FAQ for my answer
  • I've included steps to reproduce the bug.

After updating devtron old-kubewatch pod should terminated and new pod should start with changes but old pod is running after updating and new pod stuck into CrashLoopBackOff .

Logs
Here is the logs of new pod created.
time="2021-08-04T07:23:00Z" level=info msg="Starting kubewatch controller" pkg=kubewatch-event
2021/08/04 07:23:00 err stan: clientID already registered
2021/08/04 07:23:00 errstan: clientID already registered
panic: errstan: clientID already registered

goroutine 1 [running]:
log.Panic(0xc0004e38a0, 0x2, 0x2)
/usr/local/go/src/log/log.go:351 +0xae
github.com/bitnami-labs/kubewatch/pkg/controller.Start(0xc0002e20c0, 0x1907360, 0xc00056c930)
/go/src/github.com/bitnami-labs/kubewatch/pkg/controller/controller.go:450 +0x625
github.com/bitnami-labs/kubewatch/pkg/client.Run(0xc0002e20c0)
/go/src/github.com/bitnami-labs/kubewatch/pkg/client/run.go:53 +0xd8
github.com/bitnami-labs/kubewatch/cmd.glob..func10(0x23509c0, 0x239dfe0, 0x0, 0x0)
/go/src/github.com/bitnami-labs/kubewatch/cmd/root.go:57 +0xb4
github.com/bitnami-labs/kubewatch/vendor/github.com/spf13/cobra.(*Command).execute(0x23509c0, 0xc00003a1b0, 0x0, 0x0, 0x23509c0, 0xc00003a1b0)
/go/src/github.com/bitnami-labs/kubewatch/vendor/github.com/spf13/cobra/command.go:766 +0x2c2
github.com/bitnami-labs/kubewatch/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x23509c0, 0x44580a, 0x22de4a0, 0xc000056778)
/go/src/github.com/bitnami-labs/kubewatch/vendor/github.com/spf13/cobra/command.go:852 +0x2fe
github.com/bitnami-labs/kubewatch/vendor/github.com/spf13/cobra.(*Command).Execute(...)
/go/src/github.com/bitnami-labs/kubewatch/vendor/github.com/spf13/cobra/command.go:800
github.com/bitnami-labs/kubewatch/cmd.Execute()
/go/src/github.com/bitnami-labs/kubewatch/cmd/root.go:64 +0x31
main.main()
/go/src/github.com/bitnami-labs/kubewatch/main.go:22 +0x25

@pawan-59 pawan-59 added the bug Something isn't working label Aug 4, 2021
@nishant-d nishant-d changed the title Background deployment of kubewatch micro-service is failed to be done after updating devtron from another branch. BLUE-GREEN deployment of kubewatch micro-service is failed to be done after updating devtron from another branch. Aug 4, 2021
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