rhv-log-collector-analyzer fails: no option 'whitelist' in section 'insights'

Solution Verified - Updated -

Issue

Executing rhv-log-collector-analyzer on RHV Manager fails with error:

# rhv-log-collector-analyzer --live
Generating reports:
===================
Traceback (most recent call last):
  File "/usr/lib64/python3.6/configparser.py", line 789, in get
    value = d[option]
  File "/usr/lib64/python3.6/collections/__init__.py", line 883, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/lib64/python3.6/collections/__init__.py", line 875, in __missing__
    raise KeyError(key)
KeyError: 'whitelist'

Traceback (most recent call last):
  File "/usr/bin/rhv-log-collector-analyzer-live", line 258, in <module>
    sys.exit(main())
  File "/usr/bin/rhv-log-collector-analyzer-live", line 220, in main
    info_data = info_system(cmd)
  File "/usr/bin/rhv-log-collector-analyzer-live", line 146, 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 159, in query_data
    for value in config.get('insights', 'whitelist').split(","):
  File "/usr/lib64/python3.6/configparser.py", line 792, in get
    raise NoOptionError(option, section)
configparser.NoOptionError: No option 'whitelist' in section: 'insights'

Environment

  • Red Hat Virtualization (RHV) 4.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content