insights-client --register failing due to pkg_resources.DistributionNotFound: cryptography>=2.1.4
Issue
- RHI: Unable to register CFME appliance via 'insights-client'
-
insights-client --register
fails with below traceback:# insights-client --register Traceback (most recent call last): File "/bin/insights-client", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module> parse_requirements(__requires__), Environment() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: cryptography>=2.1.4 or pkg_resources.DistributionNotFound: cryptography>=1.9 <--- In CloudForms 4.7
Environment
- Red Hat Insights
- Red Hat Enterprise Linux 7.5 or later
- Red Hat CloudForms 4.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.