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

Back-off restarting failed container tracer in pod kubeshark-worker-daemon-set-fkb7h_default #1453

Open
Buenbk opened this issue Nov 14, 2023 · 7 comments

Comments

@Buenbk
Copy link

Buenbk commented Nov 14, 2023

The following is the error output of the tracer container. (Ubuntu 18.04.6 LTS)

kubectl logs kubeshark-worker-daemon-set-fkb7h -c tracer

2023-11-14T11:36:16Z INF tracer/misc/data.go:18 > Set the data directory to: data-dir=data
2023-11-14T11:36:16Z INF tracer/main.go:41 > Starting tracer...
2023-11-14T11:36:16Z INF tracer/tracer.go:39 > Initializing tracer (chunksSize: 409600) (logSize: 4096)
2023-11-14T11:36:16Z INF tracer/tracer.go:53 > Detected Linux kernel version: 5.4.0-84-generic
2023-11-14T11:36:16Z ERR tracer/tracer.go:259 > stack="*fmt.wrapError field GoCryptoTlsAbi0Read: program go_crypto_tls_abi0_read: apply CO-RE relocations: no BTF found for kernel version 5.4.0-84-generic: not supported\n/app/tracer/tracer.go:63 (0x13e7227)\n/app/tracer/main.go:67 (0x13e0cc5)\n/app/tracer/main.go:47 (0x13e0ae6)\n/app/tracer/main.go:37 (0x13e09bf)\n/usr/local/go/src/runtime/proc.go:250 (0x43db12)\n/usr/local/go/src/runtime/asm_amd64.s:1594 (0x46ec61)\n"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x13e3d1b]

goroutine 1 [running]:
main.(*tlsPoller).poll(0x0, 0x1965b30?)
/app/tracer/tls_poller.go:88 +0xbb
main.(*Tracer).Poll(...)
/app/tracer/tracer.go:97
main.run()
/app/tracer/main.go:57 +0x192
main.main()
/app/tracer/main.go:37 +0x4bf

@Buenbk
Copy link
Author

Buenbk commented Nov 14, 2023

Should I use an older version of kubeshark? Would you please provide me with a compatible version number?(For some season it is forbbiden to upgrade my Ubuntu kernel version.)

@Buenbk
Copy link
Author

Buenbk commented Nov 19, 2023

image
I downloaded version 41.2, but why does it show version 51.0.27?
curl -Lo kubeshark https://github.com/kubeshark/kubeshark/releases/download/41.2/kubeshark_linux_amd64 && chmod 755 kubeshark

./kubeshark tap

@Buenbk
Copy link
Author

Buenbk commented Nov 19, 2023

I have try some older versions, but none of these can be successfully installed in Ubuntu 18.04.6.

@previousdeveloper
Copy link

+1 do you have any update here?

@NiXxXel
Copy link

NiXxXel commented Dec 6, 2023

I have a same problem, don’t know what to do.
Kubernetes Version v1.27.4
Kubeshark v51.0.39
Rhel 8.9 Kernel 4.18.0-513.9.1.el8_9.x86_64

@rajnikhil-netapp
Copy link

+1 any update on this?

@rathoreshakti7
Copy link

+1 same issue, If any progress please update.

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

No branches or pull requests

5 participants