R5.0-micro-services - The core files of the micro-services are not stored under /var/crashes
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
Critical
|
Andrey Pavlov |
Bug Description
The core files of the micro-services are not stored under /var/crashes (it goes into / of container) and they are generated with random name instead of with service name.
This is the behaviour for vrouter-agent, i don't know about other services.
Also it would be good to mount the /var/crashes of container on the host.
[root@nodei2 /]# ps -eaf | grep vrouter
root 5637 5615 15 Mar20 ? 02:49:48 /usr/bin/
root 8392 8373 0 Mar16 ? 00:43:25 /usr/bin/python /usr/bin/
root 10052 10009 0 05:16 ? 00:00:00 docker exec -it vrouter_
root 10117 10078 0 05:16 ? 00:00:00 grep --color=auto vrouter
[root@nodei2 /]#
[root@nodei2 /]# kill -3 5637
[root@nodei2 /]#
[root@nodei2 /]# ls -l /var/crashes
total 0
[root@nodei2 /]#
[root@nodei2 /]# pwd
/
[root@nodei2 /]# ls -l core*
-rw------- 1 root root 381034496 Mar 21 05:16 core.5637
[root@nodei2 /]#
tags: | added: sanityblocker |
This is not vrouter-agent specific behavior. The file /proc/sys/kernel in the container should be set to /var/crashes/ core.%e. %p.%h.% t ?