Insights registration fails with error "Machine-id found, insights-client can not be registered. Please, unregister insights-client first: `insights-client --unregister`"
Issue
-
insights-client --register fails with below error on the client registered to satellite:-
# insights-client --register Machine-id found, insights-client can not be registered. Please, unregister insights-client first: `insights-client --unregister`
-
Error in
/var/log/insights-client/insights-client.log
:-2023-04-13 13:54:36,470 DEBUG insights.client.utilities Client version: 3.1.7 2023-04-13 13:54:36,470 DEBUG insights.client.utilities Core version: 3.1.18-1 2023-04-13 13:54:36,470 DEBUG insights.client.utilities All egg versions: 2023-04-13 13:54:36,470 DEBUG insights.client.utilities ENV egg not defined. 2023-04-13 13:54:36,646 DEBUG insights.client.utilities /var/lib/insights/newest.egg: 3.1.18-1 2023-04-13 13:54:36,647 DEBUG insights.client.utilities /var/lib/insights/last_stable.egg not found. 2023-04-13 13:54:36,824 DEBUG insights.client.utilities /etc/insights-client/rpm.egg: 3.0.246-1 2023-04-13 13:54:36,825 DEBUG insights.client.client Trying registration. 2023-04-13 13:54:36,826 DEBUG insights.client.connection Checking registration status... 2023-04-13 13:54:36,826 DEBUG insights.client.utilities Found /etc/insights-client/machine-id 2023-04-13 13:54:36,826 NETWORK insights.client.connection GET https://Satellite:443/redhat_access/r/insights/v1/systems/xxxxxx-2879-xxxxxx-8b2b-xxxxxe34 2023-04-13 13:54:37,149 NETWORK insights.client.connection HTTP Status: 500 Internal Server Error 2023-04-13 13:54:37,149 NETWORK insights.client.connection HTTP Response Text: { "error": {"message":"404 Not Found"} } 2023-04-13 13:54:37,149 DEBUG insights.client.connection No HTTP Response message present. 2023-04-13 13:54:37,149 DEBUG insights.client.connection Debug Information: HTTP Status Code: 500 2023-04-13 13:54:37,149 DEBUG insights.client.connection HTTP Status Text: Internal Server Error 2023-04-13 13:54:37,149 DEBUG insights.client.support Registration status: False 2023-04-13 13:54:37,149 INFO insights.client.client Machine-id found, insights-client can not be registered. Please, unregister insights-client first: `insights-client --unregister`
Environment
- Red Hat Insights
- Red Hat Enterprise Linux
- Red Hat Satellite 6.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.