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

karmada controller and scheduler status always CrashLoopBackOff #5157

Open
ayewwww opened this issue Jul 8, 2024 · 8 comments
Open

karmada controller and scheduler status always CrashLoopBackOff #5157

ayewwww opened this issue Jul 8, 2024 · 8 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@ayewwww
Copy link

ayewwww commented Jul 8, 2024

What happened:
1 leaderelection.go:255] failed to acquire lease karmada-system/karmada-controller-manager
image

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Karmada version: 1.9
  • k8s 1.26
  • kubectl-karmada or karmadactl version (the result of kubectl-karmada version or karmadactl version):
  • Others:
@ayewwww ayewwww added the kind/bug Categorizes issue or PR as related to a bug. label Jul 8, 2024
@ayewwww
Copy link
Author

ayewwww commented Jul 8, 2024

image

@ayewwww
Copy link
Author

ayewwww commented Jul 8, 2024

image

@zhzhuang-zju
Copy link
Contributor

@ayewwww Looks like it crashed shortly after installing, maybe some resources are not initialized properly, can you describe how you installed Karmada?

@chaosi-zju
Copy link
Member

hi, please use kubectl logs -f etcd-0 -n karmada-system to check the etcd log at that time, there should be some problem with etcd at that time, for example, the request processing exceeded 5 seconds.

@ayewwww
Copy link
Author

ayewwww commented Jul 10, 2024

@ayewwww看起来它在安装后不久就崩溃了,也许一些资源没有正确初始化,你能描述一下你是如何安装 Karmada 的吗?
offline installation, command:kubectl karmada init --crds /$HOME/crds.tar.gz

@ayewwww
Copy link
Author

ayewwww commented Jul 10, 2024

hi, please use kubectl logs -f etcd-0 -n karmada-system to check the etcd log at that time, there should be some problem with etcd at that time, for example, the request processing exceeded 5 seconds.

image
etcd appears to have no errors

@ayewwww
Copy link
Author

ayewwww commented Jul 10, 2024

@ayewwww看起来它在安装后不久就崩溃了,也许一些资源没有正确初始化,你能描述一下你是如何安装 Karmada 的吗?
offline installation, command:kubectl karmada init --crds /$HOME/crds.tar.gz

image

@chaosi-zju
Copy link
Member

Can you export full logs of controller、scheduler、etcd to files, and provide it to us?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
Status: No status
Development

No branches or pull requests

3 participants