insights-client upload fails with an error 'ConfigParser.NoSectionError: No section: 'insights-client'
Issue
-
insights-client command fails with a "No section: 'insights-client'" traceback error.
#insights-client 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/__init__.py", line 139, in _main client = InsightsClient(True, False) # read config, but dont setup logging File "/var/lib/insights/last_stable.egg/insights/client/__init__.py", line 36, in __init__ File "/var/lib/insights/last_stable.egg/insights/client/config.py", line 569, in load_all File "/var/lib/insights/last_stable.egg/insights/client/config.py", line 554, in load_config_file File "/usr/lib64/python2.6/ConfigParser.py", line 359, in getboolean v = self.get(section, option) File "/usr/lib64/python2.6/ConfigParser.py", line 321, in get raise NoSectionError(section) ConfigParser.NoSectionError: No section: 'insights-client'
Environment
- Red Hat Insights
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.