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

Bug 1885976

Summary: rhv-log-collector-analyzer - argument must be str, not bytes
Product: Red Hat Enterprise Virtualization Manager Reporter: Sandro Bonazzola <sbonazzo>
Component: rhv-log-collector-analyzerAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: Guilherme Santos <gdeolive>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.2CC: dougsland, gdeolive, lleistne, pbrilla
Target Milestone: ovirt-4.4.3Keywords: FieldEngineering, ZStream
Target Release: 4.4.3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: rhv-log-collector-analyzer-1.0.5 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1866981 Environment:
Last Closed: 2020-11-24 13:10:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1866981    
Bug Blocks: 1859314    

Description Sandro Bonazzola 2020-10-07 11:54:14 UTC
+++ This bug was initially created as a clone of Bug #1866981 +++

Description of problem:

--- Additional comment from Pavol Brilla on 2020-10-07 11:25:00 UTC ---

# rhv-analyzer-insights 
Executing rhv-log-collector-analyzer...
Traceback (most recent call last):
  File "/usr/bin/rhv-analyzer-insights", line 122, in <module>
    f.write(json_output)
TypeError: write() argument must be str, not bytes
# yum list rhv-log-collector-analyzer
Updating Subscription Management repositories.
Last metadata expiration check: 0:41:46 ago on Wed 07 Oct 2020 12:41:41 PM CEST.
Installed Packages
rhv-log-collector-analyzer.noarch                               1.0.4-1.el8ev

Comment 3 Guilherme Santos 2020-10-26 13:59:28 UTC
Verified on:
rhv-log-collector-analyzer-1.0.5-1.el8ev.noarch
ovirt-engine-4.4.3-0.1.el8ev.noarch
insights-client-3.1.0-3.el8.noarch

Steps:
1. assured that upload-json flag on /etc/ovirt-engine/rhv-log-collector-analyzer/rhv-log-collector-analyzer.conf is True
2. # rhv-analyzer-insights
3. # rhv-log-collector-analyzer --live --json

Results:
No errors, everything ran as expected

Comment 7 errata-xmlrpc 2020-11-24 13:10:07 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 (Low: Red Hat Virtualization security, 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/RHSA-2020:5179