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

kruise daemon panic when fetch container status fails #1943

Open
furykerry opened this issue Feb 28, 2025 · 0 comments
Open

kruise daemon panic when fetch container status fails #1943

furykerry opened this issue Feb 28, 2025 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@furykerry
Copy link
Member

What happened:

E0227 08:05:12.987113 1 runtime.go:79] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
goroutine 1209 [running]:
k8s.io/apimachinery/pkg/util/runtime.logPanic({0x212adc0, 0x3c29bd0})
/go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:75 +0x85
k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0xc0011f3a28, 0x1, 0xc000bda700?})
/go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:49 +0x6b
panic({0x212adc0?, 0x3c29bd0?})
/usr/local/go/src/runtime/panic.go:770 +0x132
github.com/openkruise/kruise/pkg/daemon/podprobe.(*Controller).fetchLatestPodContainer(0x453656?, {0xc001a06660, 0x24}, {0xc001b76590, 0x5})
/workspace/pkg/daemon/podprobe/pod_probe_controller.go:409 +0x433
github.com/openkruise/kruise/pkg/daemon/podprobe.(*worker).doProbe(0xc001587810)
/workspace/pkg/daemon/podprobe/worker.go:123 +0xdc
github.com/openkruise/kruise/pkg/daemon/podprobe.(*worker).run(0xc001587810)
/workspace/pkg/daemon/podprobe/worker.go:98 +0x116
created by github.com/openkruise/kruise/pkg/daemon/podprobe.(*Controller).sync in goroutine 266
/workspace/pkg/daemon/podprobe/pod_probe_controller.go:271 +0xdfc

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):
https://github.com/openkruise/kruise/actions/runs/13561466348/job/37905247676?pr=1909

Anything else we need to know?:

Environment:

  • Kruise version: 1.8
  • Kubernetes version (use kubectl version):
  • Install details (e.g. helm install args):
  • Others:
@furykerry furykerry added the kind/bug Something isn't working label Feb 28, 2025
@furykerry furykerry assigned FillZpp and zmberg and unassigned FillZpp Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants