After upgrading to RedHat Satellite 6.9.1, I've had the insights-client not uploading the inventory as expected to cloud.redhat.com. Now since this was in a corporate network, outside connections had to go through a proxy.
Check the proxy settings in satellite:
[archy@satellite ~]$ hammer settings show --name http_proxy
[archy@satellite ~]$ hammer settings show --name http_proxy_except_list
In my case, they were not set which is odd since they were set before the upgrade. Anyway, just setting them again is fast.
[archy@satellite ~]$ hammer settings set --name http_proxy --value 'http://proxy.lnx.domain.tld:3128'
[archy@satellite ~]$ hammer settings set --name http_proxy_except_list --value "['10.0.0.0/8', 'domain.tld']"
Checking in again on one of the hosts if the connection works as expected now:
[archy@server ~]$ sudo insights-client --test-connection
[archy@server ~]$ sudo systemctl restart insights-client.service
If the host has not been connected to insights for a longer period of time, it might have to be re-registered.
This can be done by:
[archy@server ~]$ sudo insights-client --register
All your hosts should now be synced up with the cloud inventory again.
Feel free to comment and / or suggest a topic.
Comments
Post a Comment