Bug 1925419

Summary: All gluster files are not packaged in sosreport
Product: Red Hat Enterprise Linux 8 Reporter: Sunil Kumar Acharya <sheggodu>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.4CC: agk, bmr, jcastillo, jhunsaker, lmiksik, mhradile, mokumar, plambri, pmoravec, pprakash, prprakas, sacharya, sbradley
Target Milestone: rcKeywords: OtherQA, TestBlockerForLayeredProduct, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-4.0-11.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1934481 (view as bug list) Environment:
Last Closed: 2021-05-18 14:49:10 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: 1925035, 1934481    

Description Sunil Kumar Acharya 2021-02-05 07:32:24 UTC
This bug was initially created as a copy of Bug #1925035

I am copying this bug because: 



Description of problem:

While creating sos report on sosversions above sos-4.0-6, not all glusterfiles are packaged to the sos report.

Version-Release number of selected component (if applicable):


How reproducible: Always

Steps to Reproduce:
1. Make sure to have an sos version sos-4.0-6 or higher (sos-4.0-7)
2. Keep track of the files before generating sos report
3. generate sos report
4. Untar the report generated and verify all the gluster files in step 3 are present or not

Actual results:
['/var/lib/glusterd/glusterfind/.keys', '/var/lib/glusterd/glusterfind'] are missing from the sosreport generated.

Expected results:

The files packaged should be the same

Additional info:

The sos version  3.9.1-6 runs as expected.

Os version: RHEL 8.3/8.4 (tested on both)
RHGS Version (3.5.3/3.5.4 ) [glusterfs 6.0-49, 6.0-51]

Comment 21 Pavel Moravec 2021-03-15 08:00:32 UTC
We found out that

/var/lib/glusterd/glusterfind/.keys/

is not collected. Because due to a typo, sos collects var/lib/glusterd/.keys/ instead :(

Per my understanding from Pranav, this is the only missing data (am I correct, Pranav?).

How crucial this directory content is? If we need it in 8.4, please raise exception? and provide business justification (to let PrdM to evaluate the request, as I cant respin the build on my own)

Comment 22 Pavel Moravec 2021-03-15 09:11:06 UTC
PR https://github.com/sosreport/sos/pull/2451 has the remaining change.

Comment 32 errata-xmlrpc 2021-05-18 14:49:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (sos bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:1604