Red Hat Insights client registration is failing with an ERROR force-reregistration has been deprecated.
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.