Brief Description
-----------------
When creating a sleep process in one k8s pod and killing it, a sleep coredump should be created, but no coredump is being created.
Severity
--------
Minor: System is usable with minor issue (k8s Coredump Handler is not working)
Steps to Reproduce
------------------
On a lab installed with STX:
1)ssh to non-k8s host or to a pod
2) run a sleep process (i.e sleep 10) and ctrl + \ to kill It
3) check coredump file extension created under /coredump/
Expected Behavior
------------------
coredumps are found(e.g sleep.*.zst)
Actual Behavior
----------------
No coredumps are found
k8s-account-creation-script.log:
Initializing k8s-coredump kubernetes ServiceAccount creation
Running kubectl apply
The connection to the server [aefd::1]:6443 was refused - did you specify the right host or port?
Getting token and creating config file
TOKEN=''
First log in the kube-apiserver log (7 seconds later):
2024-03-22T01:59:08.978712165Z stderr F Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
Brief Description
-----------------
When creating a sleep process in one k8s pod and killing it, a sleep coredump should be created, but no coredump is being created.
Severity
--------
Minor: System is usable with minor issue (k8s Coredump Handler is not working)
Steps to Reproduce
------------------
On a lab installed with STX:
1)ssh to non-k8s host or to a pod
2) run a sleep process (i.e sleep 10) and ctrl + \ to kill It
3) check coredump file extension created under /coredump/
Expected Behavior
------------------
coredumps are found(e.g sleep.*.zst)
Actual Behavior
----------------
No coredumps are found
Reproducibility
---------------
Intermittent
Branch/Pull Time/Commit ------- ------- --
-------
master
Timestamp/Logs controller- 0:~$ sudo cat /etc/k8s- coredump- conf.json coredump_ token": ""
--------------
sysadmin@
{
"k8s_
}
k8s-account- creation- script. log:
Initializing k8s-coredump kubernetes ServiceAccount creation
Running kubectl apply
The connection to the server [aefd::1]:6443 was refused - did you specify the right host or port?
Getting token and creating config file
TOKEN=''
puppet: 22T01:59: 01.944 Notice: 2024-03-22 01:59:01 +0000 /Stage[ main]/Platform: :Coredump: :K8s_token_ handler: :Controller/ Exec[create- k8s-coredump- account] /returns: executed successfully
2024-03-
First log in the kube-apiserver log (7 seconds later): 22T01:59: 08.978712165Z stderr F Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
2024-03-
Test Activity
-------------
Regression Testing
Workaround coredump/ create- k8s-account. sh
----------
Manually re-execute /etc/k8s-