cilium-cli icon indicating copy to clipboard operation
cilium-cli copied to clipboard

Sysdump bugtool gathering can fail and not print the underlying error (exit code 137)

Open joestringer opened this issue 2 years ago • 1 comments

Observed in a user environment:

$ cilium sysdump 
...
⚠️ cilium-bugtool-cilium-agent-qkgpx: failed to collect 'cilium-bugtool' output for "cilium-agent-qkgpx" in namespace "cilium": command terminated with exit code 137: 
⚠️ Please note that depending on your Cilium version and installation options, this may be expected
🗳 Compiling sysdump
✅ The sysdump has been saved to /home/work/cilium-sysdump/cilium-sysdump-20220725-162347.zip

Note that the bugtool failed with exit code 137, but then no error is printed so it is difficult to understand what happened.

joestringer avatar Jul 25 '22 15:07 joestringer

From some brief searching online, it appears that exit code 137 may indicate that the pod ran out of memory (hit memory limits) while performing the sysdump.

joestringer avatar Jul 25 '22 15:07 joestringer