insights-client upload fails with an error 'ConfigParser.NoSectionError: No section: 'insights-client'

Solution Verified - Updated -


  • insights-client command fails with a "No section: 'insights-client'" traceback error.

    Traceback (most recent call last):
    File "/usr/bin/insights-client", line 9, in <module>
    load_entry_point('insights-client==3.0.3', 'console_scripts', 'insights-client')()
    File "/usr/lib/python2.6/site-packages/insights_client/", line 139, in _main
    client = InsightsClient(True, False)  # read config, but dont setup logging
    File "/var/lib/insights/last_stable.egg/insights/client/", line 36, in __init__
    File "/var/lib/insights/last_stable.egg/insights/client/", line 569, in load_all
    File "/var/lib/insights/last_stable.egg/insights/client/", line 554, in load_config_file
    File "/usr/lib64/python2.6/", line 359, in getboolean
    v = self.get(section, option)
    File "/usr/lib64/python2.6/", line 321, in get
    raise NoSectionError(section)
    ConfigParser.NoSectionError: No section: 'insights-client'


  • 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