insights-client-3.1.3-2.el8_4.noarch fails with Fatal: No option 'proxy_hostname' in section: 'server' while registration

Solution Verified - Updated -

Issue

  • insights-client --register fails with Fatal: No option 'proxy_hostname' in section: 'server' even if system is not behind proxy.

    # insights-client --register
    Fatal: No option 'proxy_hostname' in section: 'server'
    
  • Ansible role to configure Red Hat Insights fails with below error:-

    TASK [../roles/insights-client : Change permissions of machine_id file so that Insights System ID can be read] ****************************************************
    task path: /appl/ao_linux/ansible-provision/playbooks/roles/insights-client/tasks/main.yml:43
    Monday 05 July 2021  14:07:22 +0100 (0:00:00.896)       0:00:10.765 ***********
    fatal: [xxxx]: FAILED! => {"changed": false, "msg": "file (/etc/insights-client/machine-id) is absent, cannot continue", "path": "/etc/insights-client/machine-id"}
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Satellite 6.x
  • Red Hat Insights

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