Bug 1399148

Summary: [NFS-GANESHA]: Failed to get core dumps in case of ganesha crashes
Product: Red Hat Gluster Storage Reporter: surabhi <sbhaloth>
Component: doc-Administration_GuideAssignee: Bhavana <bmohanra>
Status: CLOSED NOTABUG QA Contact: storage-qa-internal <storage-qa-internal>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.2CC: amukherj, asriram, dang, ffilz, jthottan, kkeithle, mbenjamin, ndevos, rcyriac, rhinduja, rhs-bugs, rwheeler, sankarshan, sbhaloth, skoduri, storage-doc, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-17 10:11:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description surabhi 2016-11-28 12:25:49 UTC
Description of problem:

In case of ganesha or corosync crash , there is no core dump generated and it fails with following error :

Nov 28 16:51:30 dhcp47-147 abrt-hook-ccpp: /var/spool/abrt is 2546759006 bytes (more than 1279MiB), deleting 'ccpp-2016-11-28-15:58:27-23087'
Nov 28 16:51:30 dhcp47-147 systemd: nfs-ganesha.service: main process exited, code=dumped, status=11/SEGV
Nov 28 16:51:30 dhcp47-147 systemd: Unit nfs-ganesha.service entered failed state.
Nov 28 16:51:30 dhcp47-147 systemd: nfs-ganesha.service failed.
Nov 28 16:51:30 dhcp47-147 abrt-server: Package 'nfs-ganesha' isn't signed with proper key
Nov 28 16:51:30 dhcp47-147 abrt-server: 'post-create' on '/var/spool/abrt/ccpp-2016-11-28-16:51:24-3738' exited with 1
Nov 28 16:51:30 dhcp47-147 abrt-server: Deleting problem directory '/var/spool/abrt/ccpp-2016-11-28-16:51:24-3738'


Tried the similar test to generate cores for glusterd and it is getting generated in /

But for ganesha, corosync it looks like it tries to dump the core in systemd's default location and it is not able to.


Version-Release number of selected component (if applicable):
nfs-ganesha-2.4.1-1.el7rhgs.x86_64


How reproducible:
Always

Steps to Reproduce:
1.Kill a process to dump core (kill -SIGSEGV pid)
2.Check the core file in both / and systemd location (/var/spool/abrt)


Actual results:
The core file doesn't get generated at all for ganesha and corosync process in both the locations above and there are error messages.

Expected results:
Core should get generated and there should not be such error.


Additional info:

Comment 4 surabhi 2016-12-01 11:38:52 UTC
Need to provide this kbase article link in installation guide.
As it tells about options to be set for getting core dumps, need to decide on the section where it has to be documented.
Will update soon.

Comment 6 Bhavana 2017-02-02 06:08:28 UTC
Hi Surabhi,

Can you please share the kbase article and the section where it ahs to be added so that i can go ahead and make the changes.

Thanks

Comment 7 surabhi 2017-02-10 08:26:16 UTC
Following kbase article link needs to be provided:

https://access.redhat.com/solutions/168603
https://access.redhat.com/solutions/2486831

Section I am not sure may be a question for soumya/Alok/Rejy?

Comment 8 Bhavana 2017-02-16 06:26:31 UTC
Hi Surabhi,

If you had a discussion with Rejy, pls let me know what was decided wrt the inclusion of the kbase article.

Thanks.

Comment 9 surabhi 2017-02-17 10:11:17 UTC
Discussed this with Rejy and Soumya. As there is already a K-base article available from RHEL on how to get core dumps generated and at the right location we may not want to add it to the admin guide.
So closing this BUG.

The k-base article are as follows:


https://access.redhat.com/solutions/168603
https://access.redhat.com/solutions/2486831