Bug 1885976 - rhv-log-collector-analyzer - argument must be str, not bytes
Summary: rhv-log-collector-analyzer - argument must be str, not bytes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhv-log-collector-analyzer
Version: 4.4.2
Hardware: All
OS: All
high
high
Target Milestone: ovirt-4.4.3
: 4.4.3
Assignee: Sandro Bonazzola
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On: 1866981
Blocks: 1859314
TreeView+ depends on / blocked
 
Reported: 2020-10-07 11:54 UTC by Sandro Bonazzola
Modified: 2021-06-02 14:32 UTC (History)
4 users (show)

Fixed In Version: rhv-log-collector-analyzer-1.0.5
Doc Type: No Doc Update
Doc Text:
Clone Of: 1866981
Environment:
Last Closed: 2020-11-24 13:10:07 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:5179 0 None None None 2020-11-24 13:10:28 UTC

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


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