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

The spiderpool controller pod failed to terminate. #3940

Open
github-actions bot opened this issue Aug 23, 2024 · 1 comment
Open

The spiderpool controller pod failed to terminate. #3940

github-actions bot opened this issue Aug 23, 2024 · 1 comment
Assignees

Comments

@github-actions
Copy link

action url: https://github.com/spidernet-io/spiderpool/actions/runs/10531666895

@ty-dc ty-dc changed the title Nightly K8s Matrix CI 2024-08-23: Failed The spiderpool controller pod failed to terminate. Aug 26, 2024
@ty-dc
Copy link
Collaborator

ty-dc commented Aug 26, 2024

CI 失败有两个原因:

  1. same as kind supports v1.31 #3937
  2. 删除 spiderpool-controller 失败
Node-Selectors:              [kubernetes.io/os=linux](http://kubernetes.io/os=linux)
Tolerations:                 op=Exists
Events:
  Type     Reason             Age                From               Message
  ----     ------             ----               ----               -------
  Warning  FailedScheduling   20m (x2 over 20m)  default-scheduler  0/2 nodes are available: 2 node(s) didn't have free ports for the requested pod ports.
  Normal   Scheduled          20m                default-scheduler  Successfully assigned kube-system/spiderpool-controller-6f84476856-vp86s to spiderpool0825201324-worker
  Normal   Pulled             20m                kubelet            Container image "spiderpool-controller-race:41a9c4273eef492b899d12adce8b7a0576509c1f" already present on machine
  Normal   Created            20m                kubelet            Created container spiderpool-controller
  Normal   Started            20m                kubelet            Started container spiderpool-controller
  Warning  NodeNotReady       5m19s              node-controller    Node is not ready
  Normal   Killing            4m2s               kubelet            Stopping container spiderpool-controller
  Warning  FailedPreStopHook  4m2s               kubelet            Exec lifecycle hook ([/usr/bin/spiderpool-controller shutdown]) for Container "spiderpool-controller" in Pod "spiderpool-controller-6f84476856-vp86s_kube-system(015dffe3-ca72-4543-af33-7f132da938cb)" failed - error: command '/usr/bin/spiderpool-controller shutdown' exited with 1: Error: unknown command "shutdown" for "spiderpool-controller"
Run 'spiderpool-controller --help' for usage.
, message: "{\"level\":\"FATAL\",\"ts\":\"2024-08-25T20:39:52.444Z\",\"logger\":\"spiderpool-controller\",\"caller\":\"cmd/command_root.go:32\",\"msg\":\"unknown command \\\"shutdown\\\" for \\\"spiderpool-controller\\\"\"}\nError: unknown command \"shutdown\" for \"spiderpool-controller\"\nRun 'spiderpool-controller --help' for usage.\n"
  Warning  FailedMount  112s (x9 over 4m)  kubelet  MountVolume.SetUp failed for volume "tls" : object "kube-system"/"spiderpool-controller-server-certs" not registered

e2edebugLog 8.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant