Core dump is not consistently generated for processes killed in a container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Michel Thebeau [WIND] |
Bug Description
Brief Description
-----------------
Core dump is not consistently generated for processes running in a container.
Severity
--------
Minor
Steps to Reproduce
------------------
1. run a pod
kubectl run ng --image=nginx
2. login to the console of the pod
kubectl exec ng -it – /bin/bash
3. find a nginx process and kill it.
root@ng:/# ls -l /proc | grep nginx
dr-xr-xr-x 9 nginx nginx 0 Jul 28 15:54 60
root@ng:/# kill -6 60
4. check if a core dump file is generated under '/var/lib/
Expected Behavior
------------------
A coredump file is consistently generated
Actual Behavior
----------------
A coredump file is not always generated
Reproducibility
---------------
Intermittent
System Configuration
-------
any
Branch/Pull Time/Commit
-------
stx master as of 2020-06-28, but likely a day 1 issue
Last Pass
---------
N/A - new test-case
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Other
Workaround
----------
For each kubernetes node (host):
echo '|/usr/
Changed in starlingx: | |
assignee: | nobody → Michel Thebeau [WIND] (mthebeau) |
description: | updated |
stx.5.0 / medium priority - would be good to fix to help w/ debugging container issues