Bug 1439949

Summary: [RFE] include postgres logs in spacewalk-debug and no longer include non-pertinent files
Product: Red Hat Satellite 5 Reporter: Candace Sheremeta <cshereme>
Component: OtherAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: low Docs Contact:
Priority: low    
Version: 570CC: jhutar, lhellebr, mmello, tkasparek, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-backend-2.5.3-137-sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:19:00 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1358815    

Description Candace Sheremeta 2017-04-06 23:19:49 UTC
What is the nature and description of the request?
we would like to see postgres logs included in the spacewalk-debug for better troubleshooting and support; furthermore, we would like to see non-pertinent files (such as database dumps, etc) no longer included in the spacewalk-debug 

Why does the customer need this? (List the business requirements here)
many cases are opened where having access to the PG logs would speed up Red Hat Support's ability to diagnose issues and assist the customers; not including non-pertinent files will decrease the size of spacewalk-debugs and sosreports from customers

How would the customer like to achieve this? (List the functional requirements here)
mmello++ has written an upstream patch for this: https://github.com/spacewalkproject/spacewalk/pull/532

List any affected packages or components.
spacewalk-debug

Comment 1 Tomas Lestach 2017-04-07 09:41:37 UTC
*** Bug 1440091 has been marked as a duplicate of this bug. ***

Comment 2 Tomáš Kašpárek 2017-04-07 13:31:30 UTC
PR accepted into spacewalk-git(master): 89b3b9cad56c762b92f1cd693f0c2ded19c92cb1

Comment 7 Lukáš Hellebrandt 2017-05-29 10:20:58 UTC
FailedQA with spacewalk-backend-2.5.3-135, EmbPostgreSQL.

initlog and pgstartup.log are actually:
/var/lib/pgsql/initdb_rh-postgresql95-postgresql.log
/var/lib/pgsql/pgstartup-rh-postgresql95-postgresql.log