Red Hat Insights client registration is failing with an ERROR force-reregistration has been deprecated.

Solution Verified - Updated -

Issue

  • Insights-client execution fails with an error:

    # insights-client --force-reregister
    ERROR: `force-reregistration` has been deprecated. Please use `insights-client --unregister && insights-client --register` instead
    
  • Playbook execution for Satellite clients fails with an error:

    "ERROR: `force-reregistration` has been deprecated. Please use `insights-client --unregister && insights-client --register` instead", "stderr_lines": ["ERROR: `force-reregistration` has been deprecated. Please use `insights-client --unregister && insights-client --register` instead"], "stdout": "", "stdout_lines": []}
    

Environment

  • Red Hat® Insights
  • Insights core version < insights-core-3.1.1. (use insights-client --version to check the core version)

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