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

Bug 1877479

Summary: ovirt-log-collector fails to gather hosts' info with latest sos
Product: [oVirt] ovirt-log-collector Reporter: Guilherme Santos <gdeolive>
Component: GeneralAssignee: Lev Veyde <lveyde>
Status: CLOSED CURRENTRELEASE QA Contact: Guilherme Santos <gdeolive>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.4.3CC: bugs, lleistne, michal.skrivanek
Target Milestone: ovirt-4.4.3Keywords: Regression, ZStream
Target Release: 4.4.4Flags: pm-rhel: ovirt-4.4+
sbonazzo: blocker?
pm-rhel: planning_ack+
sbonazzo: devel_ack+
lleistne: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-log-collector-4.4.4 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-11 06:41:39 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 Guilherme Santos 2020-09-09 17:45:28 UTC
Description of problem:
ovirt-log-collector fails if the hypervisor which it's gathering the information has sos=>3.9.1 (downgrading sos make it works)

ERROR: Failed to collect logs from: <host>; bash: line 2: [: 39.1: integer expression expected
bash: line 4: [: 39.1: integer expression expected
bash: line 6: [: 39.1: integer expression expected
bash: line 8: [: 39.1: integer expression expected
bash: line 10: [: 39.1: integer expression expected
bash: line 12: [: 39.1: integer expression expected
bash: line 14: [: 39.1: integer expression expected
bash: line 16: [: 39.1: integer expression expected
No valid version of sosreport found.


Version-Release number of selected component (if applicable):
ovirt-log-collector-4.4.3

How reproducible:
always

Steps to Reproduce:
1. # ovirt-log-collector
2.
3.

Actual results:
fails

Expected results:
succeeds 

Additional info:

Comment 1 Michal Skrivanek 2020-09-25 09:43:57 UTC
don't file RHV bugs unless they are really RHV specific

Comment 2 Guilherme Santos 2020-10-01 12:44:17 UTC
rhv version: rhv-4.4.3-1

Comment 3 Guilherme Santos 2020-10-26 13:45:38 UTC
Verified on:
ovirt-log-collector-4.4.4-1.el8ev.noarch
ovirt-engine-4.4.3-0.1.el8ev.noarch
sos-3.9.1-6.el8.noarch

Steps:
1. Run log collector on engine with hypervisors with sos>=3.9.1
# ovirt-log-collector

Results:
Everything went fine

Comment 4 Sandro Bonazzola 2020-11-11 06:41:39 UTC
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE.

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