Bug 1882702 - rhv-analyzer-insights failed to run on 4.4.2 engine
Summary: rhv-analyzer-insights failed to run on 4.4.2 engine
Keywords:
Status: CLOSED DUPLICATE of bug 1866981
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-db-query
Version: 4.4.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.4.3
: ---
Assignee: Sandro Bonazzola
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-25 11:31 UTC by Pavol Brilla
Modified: 2020-11-14 04:39 UTC (History)
0 users

Fixed In Version: engine-db-query-1.6.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-25 14:12:50 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavol Brilla 2020-09-25 11:31:35 UTC
Description of problem:
rhv-analyzer-insights failed to do anything, it crashed during invocation...

Version-Release number of selected component (if applicable):
rhvm 4.4.2.6-0.2.el8ev
rhv-log-collector-analyzer-1.0.2-1.el8ev.noarch

How reproducible:
100

Steps to Reproduce:
1. Register system to CDN, install engine
2. Prepare system for insights
3. invoke rhv-analyzer-insights to upload logs to insights

Actual results:
rhv-analyzer-insights  is failing to run

Expected results:
see data in insights portal

Additional info:
# rhv-analyzer-insights
Executing rhv-log-collector-analyzer...
Traceback (most recent call last):
  File "/usr/bin/engine-db-query", line 280, in <module>
    sys.exit(main())
  File "/usr/bin/engine-db-query", line 272, in main
    knowledge_base=args.kb_url
  File "/usr/lib/python3.6/site-packages/engine_db_query/__init__.py", line 213, in execute
    knowledge_base=knowledge_base
  File "/usr/lib/python3.6/site-packages/engine_db_query/__init__.py", line 383, in query_return_json
    s=hashlib.sha256(file_name).hexdigest(),
TypeError: Unicode-objects must be encoded before hashing
b"b''\n"

Comment 1 Sandro Bonazzola 2020-09-25 14:12:50 UTC
closing as duplicate of bug #1866981

*** This bug has been marked as a duplicate of bug 1866981 ***


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