Running insights-client with auto_update set to false fails with error KeyError: 'specs'

Solution Verified - Updated -

Issue

  • Running insights-client with auto_update set to false fails with error KeyError: 'specs', below is the traceback:

    INFO insights.client.client Starting to collect Insights data for client.example.com
    DEBUG insights.client.data_collector Beginning to run collection spec...
    ERROR insights.client.phase.v1 Fatal error
    Traceback (most recent call last):
    File "/etc/insights-client/rpm.egg/insights/client/phase/v1.py", line 29, in _f
    func()
    File "/etc/insights-client/rpm.egg/insights/client/phase/v1.py", line 170, in collect_and_output
    analyze_mountpoint=config["analyze_mountpoint"])
    File "/etc/insights-client/rpm.egg/insights/client/__init__.py", line 333, in collect
    tar_file = client.collect()
    File "/etc/insights-client/rpm.egg/insights/client/client.py", line 438, in collect
    dc.run_collection(collection_rules, rm_conf, branch_info)
    File "/etc/insights-client/rpm.egg/insights/client/data_collector.py", line 230, in run_collection
    for specname in conf['specs']:
    KeyError: 'specs'
    DEBUG insights_client Attempt failed.
    

Environment

  • Red Hat Insights

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