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

Kubelet pods issue 3.18.0: invalid memory address or nil pointer dereference #774

Closed
marcincuber opened this issue May 30, 2023 · 2 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@marcincuber
Copy link

Description

Issue with memory in 3.18.0 release. Kubelet pods not starting at all.
Happening on EKS 1.26 and 1.27

Rollback to 3.17.0 resolved the issue.

Logs

time="2023-05-30T10:11:34Z" level=warning msg="Error sending data to agent sink: {"2023-05-30 10:11:34.963467014 +0000 UTC m=+76.216265688" "Do" "http://localhost:8003/v1/data\" "POST" '\x00' '\x03' '\x02' "Post \"http://localhost:8003/v1/data\\\": dial tcp [::1]:8003: connect: connection refused"}"

time="2023-05-30T10:11:01Z" level=info msg="connect got id" agent-guid=MzY4NTQ1M3xJTkZSQXxOQXwzOTMwOTA2NTI5NTEyMjg5Njcz agent-id=3930906529512289673 component=IdentityConnectService
time="2023-05-30T10:11:21Z" level=warning msg="instantiating container sampler process decorator" component=ProcessSampler error="containerd sampler: no running task found: task 1a0e02bcaf8975c86d191c97cf1833b69af46644181894b223d4bfd7084ac845 not found: not found"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x16aec2e]

goroutine 162 [running]:
github.com/newrelic/infrastructure-agent/pkg/metrics.(*containerdDecorator).Decorate(0xc00034e678?, 0xc000b2f760)
   /go/src/github.com/newrelic/infrastructure-agent/pkg/metrics/containerd_sampler.go:173 +0x2e
github.com/newrelic/infrastructure-agent/pkg/metrics/process.(*processSampler).Sample(0xc00035b310)
   /go/src/github.com/newrelic/infrastructure-agent/pkg/metrics/process/sampler_linux.go:127 +0x3de
github.com/newrelic/infrastructure-agent/pkg/metrics/sampler.StartSamplerRoutine.func1.2({0x1d4a340, 0xc00035b310})
   /go/src/github.com/newrelic/infrastructure-agent/pkg/metrics/sampler/sampler_routine.go:49 +0x12c
github.com/newrelic/infrastructure-agent/pkg/metrics/sampler.StartSamplerRoutine.func1()
   /go/src/github.com/newrelic/infrastructure-agent/pkg/metrics/sampler/sampler_routine.go:50 +0x18a
created by github.com/newrelic/infrastructure-agent/pkg/metrics/sampler.StartSamplerRoutine
   /go/src/github.com/newrelic/infrastructure-agent/pkg/metrics/sampler/sampler_routine.go:35 +0x16e

Steps to Reproduce

Deploy latest version of infrastructure agent

For Maintainers Only or Hero Triaging this bug

Suggested Priority (P1,P2,P3,P4,P5):
Suggested T-Shirt size (S, M, L, XL, Unknown):

@marcincuber marcincuber added the bug Categorizes issue or PR as related to a bug. label May 30, 2023
@workato-integration
Copy link

@workato-integration
Copy link

The problem is a duplicate of an existing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant