Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1738439

Summary: log collector doesn't work properly on machine with FIPS enabled
Product: [oVirt] ovirt-log-collector Reporter: Lucie Leistnerova <lleistne>
Component: GeneralAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: high    
Version: 4.3.3CC: bugs, lsvaty
Target Milestone: ovirt-4.4.2Flags: sbonazzo: ovirt-4.4?
sbonazzo: planning_ack?
sbonazzo: devel_ack+
lleistne: testing_ack+
Target Release: 4.4.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-log-collector-4.4.3 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-22 10:35:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lucie Leistnerova 2019-08-07 07:52:39 UTC
Description of problem:
ovirt-log-collector can't get postgres report from sos when FIPS is set on the engine.


Version-Release number of selected component (if applicable):
ovirt-log-collector-4.3.3-1.el7ev.noarch
sos-3.7-5.el7.noarch

How reproducible:
always


Steps to Reproduce:
1. have engine with FIPS=1
2. run ovirt-log-collector
3.

Actual results:
INFO: Gathering oVirt Engine information...
INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost...
ERROR: Could not collect PostgreSQL information: [Errno 2] No such file or directory


Expected results: log collector runs without any error


Additional info:
log collector counts with md5 checksums, but sos with FIPS generates sha256
# ls /tmp/logcollector-5sD_F0/working/log-collector-data/
sosreport-system-ge-2-2019-08-07-cfezzjp.tar.xz
sosreport-system-ge-2-2019-08-07-cfezzjp.tar.xz.sha256

Comment 3 Douglas Schilling Landgraf 2020-05-14 13:46:15 UTC
sosreport changed the md5sum to sha256sum, requiring us to adapt our code. The generation of .tar.gz from postgresql was not affected, only validation of md5sum (not affecting users).

Comment 4 Sandro Bonazzola 2020-06-30 07:17:27 UTC
Moving back to modified, there's no ovirt-log-collector-4.4.1-4.el8ev released in oVirt repo

Comment 7 Sandro Bonazzola 2020-07-13 09:45:29 UTC
Moving back to modified since ovirt-log-collector-4.4.2-2 is not included in 4.4.1 compose

Comment 9 Lukas Svaty 2020-09-22 10:35:07 UTC
CLOSING low QE severity 4.4.2 issuees with NEXT_RELESE. If you believe these bugs indeed require QE Verification feel free to reopen.