Bug 1738439 - log collector doesn't work properly on machine with FIPS enabled
Summary: log collector doesn't work properly on machine with FIPS enabled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-log-collector
Classification: oVirt
Component: General
Version: 4.3.3
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.4.2
: 4.4.3
Assignee: Douglas Schilling Landgraf
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-07 07:52 UTC by Lucie Leistnerova
Modified: 2021-05-13 06:23 UTC (History)
2 users (show)

Fixed In Version: ovirt-log-collector-4.4.3
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-22 10:35:07 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.4?
sbonazzo: planning_ack?
sbonazzo: devel_ack+
lleistne: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 109046 0 master MERGED ovirt-log-collector: use sha256sum instead of md5sum 2020-09-21 10:19:33 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.