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

autoscaler container watch namespaces panic #358

Closed
MegaByte875 opened this issue Oct 19, 2023 · 0 comments
Closed

autoscaler container watch namespaces panic #358

MegaByte875 opened this issue Oct 19, 2023 · 0 comments
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected

Comments

@MegaByte875
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Describe the bug (required)
I1019 12:20:34.031131 4054627 autoscaler.go:84] nebula-autoscaler version: { go1.20.8 gc linux/amd64}
I1019 12:20:34.031187 4054627 autoscaler.go:91] nebula-autoscaler watches namespaces [kevin default]
panic: interface conversion: *cache.multiNamespaceInformer is not cache.SharedIndexInformer: missing method GetController

goroutine 1 [running]:
github.com/vesoft-inc/nebula-operator/pkg/controller/autoscaler.NewHorizontalController({0x2510a50, 0xc0003d7d60}, {0x25245e0, 0xc000503a00}, 0x37e11d600, 0x45d964b800, 0x3fb999999999999a, 0x45d964b800, 0x6fc23ac00)
/root/go/src/github.com/vesoft-inc/nebula-operator/pkg/controller/autoscaler/autoscaler.go:128 +0x17d
github.com/vesoft-inc/nebula-operator/cmd/autoscaler/app.Run({0x2510a50, 0xc0003d7d60}, 0xc000164700)
/root/go/src/github.com/vesoft-inc/nebula-operator/cmd/autoscaler/app/autoscaler.go:130 +0x6ec
github.com/vesoft-inc/nebula-operator/cmd/autoscaler/app.NewAutoscalerCommand.func1(0xc00021ef00?, {0x21d6e37?, 0x4?, 0x4?})
/root/go/src/github.com/vesoft-inc/nebula-operator/cmd/autoscaler/app/autoscaler.go:64 +0x25
github.com/spf13/cobra.(*Command).execute(0xc00021ef00, {0xc0000520b0, 0x4, 0x4})
/root/go/src/github.com/vesoft-inc/nebula-operator/vendor/github.com/spf13/cobra/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc00021ef00)
/root/go/src/github.com/vesoft-inc/nebula-operator/vendor/github.com/spf13/cobra/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
/root/go/src/github.com/vesoft-inc/nebula-operator/vendor/github.com/spf13/cobra/command.go:968
k8s.io/component-base/cli.run(0xc00021ef00)
/root/go/src/github.com/vesoft-inc/nebula-operator/vendor/k8s.io/component-base/cli/run.go:146 +0x317
k8s.io/component-base/cli.Run(0x2510a50?)
/root/go/src/github.com/vesoft-inc/nebula-operator/vendor/k8s.io/component-base/cli/run.go:46 +0x1d
main.main()
/root/go/src/github.com/vesoft-inc/nebula-operator/cmd/autoscaler/main.go:31 +0x2c

Your Environments (required)

  • OS: uname -a
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@MegaByte875 MegaByte875 added the type/bug Type: something is unexpected label Oct 19, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Oct 19, 2023
@github-actions github-actions bot added the process/fixed Process of bug label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

1 participant