The insights-client command execution fails due to error "/usr/bin/python: undefined symbol: magic_open"
Issue
-
When trying to register a system with Red Hat Insights, The
insights-clientcommand execution fails at the end with the following error:# insights-client --register Successfully registered host rhel7.example.com Automatic scheduling for Insights has been enabled. Starting to collect Insights data for rhel7.example.com Writing RHSM facts to /etc/rhsm/facts/insights-client.facts ... Uploading Insights data. Upload attempt 1 of 1 failed! Reason: /usr/bin/python: undefined symbol: magic_open All attempts to upload have failed! Please see /var/log/insights-client/insights-client.log for additional information Upload failed.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Insights
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.