Description of problem: # rhv-log-collector-analyzer --json Traceback (most recent call last): File "/usr/bin/rhv-log-collector-analyzer-live", line 259, in <module> sys.exit(main()) File "/usr/bin/rhv-log-collector-analyzer-live", line 221, in main info_data = info_system(cmd) File "/usr/bin/rhv-log-collector-analyzer-live", line 147, in info_system ret = info_name(cmd) File "/usr/lib/python3.6/site-packages/rhv_log_collector_analyzer/engine.py", line 47, in current_version desc_type) File "/usr/lib/python3.6/site-packages/rhv_log_collector_analyzer/misc.py", line 185, in query_data ret = ret.decode("utf-8") AttributeError: 'str' object has no attribute 'decode' Version-Release number of selected component (if applicable): rhv-log-collector-analyzer-1.0.8-1.el8ev.noarch ovirt-engine-4.4.6.6-0.10.el8ev.noarch How reproducible: always Steps to Reproduce: 1. # rhv-log-collector-analyzer --json 2. 3. Actual results: fails Expected results: succeed Additional info:
Reproduced on a clean setup with 4.4.6 released content: rpm -qv rhv-log-collector-analyzer engine-db-query rhv-log-collector-analyzer-1.0.8-1.el8ev.noarch engine-db-query-1.6.3-1.el8ev.noarch Reproduced also on 4.4.7 candidate: rhv-log-collector-analyzer-1.0.9-1.el8ev.noarch
Verified on: ovirt-engine-4.4.7.4-0.9.el8ev.noarch `rhv-log-collector-analyzer --json` works as expected
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 (Moderate: RHV Manager (ovirt-engine) security update [ovirt-4.4.7]), 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-2021:2865