cilium-cli
cilium-cli copied to clipboard
Sysdump bugtool gathering can fail and not print the underlying error (exit code 137)
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.
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.