Insights client fails to register - tuple index out of range

Solution Verified - Updated -

Issue

When tryining to register to Insights service, insights-client fails with tuple index out of range Python error.

[root@ic3 ~]# insights-client --register
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.7/site-packages/insights_client/__init__.py", line 134, in _main
    import insights
  File "/var/lib/insights/last_stable.egg/insights/__init__.py", line 11, in <module>
  File "/var/lib/insights/last_stable.egg/insights/core/cluster.py", line 7, in <module>
  File "/var/lib/insights/last_stable.egg/insights/core/hydration.py", line 9, in <module>
  File "/var/lib/insights/last_stable.egg/insights/core/evaluators.py", line 3, in <module>
  File "/var/lib/insights/last_stable.egg/insights/specs/__init__.py", line 1, in <module>
  File "/var/lib/insights/last_stable.egg/insights/core/spec_factory.py", line 332, in <module>
  File "/usr/lib/python2.7/site-packages/six.py", line 631, in with_metaclass
    return meta("NewBase", bases, {})
  File "/var/lib/insights/last_stable.egg/insights/core/spec_factory.py", line 329, in __init__
IndexError: tuple index out of range

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • insights-client v 3.0.3
  • python 2.7
  • six 1.6.1

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