Dedicated virt-who server is not able to send data to a Red Hat Satellite

Solution Unverified - Updated

Environment

  • Red Hat Satellite 6.3
  • dedicated virt-who server

Issue

A dedicated virt-who server is unable to send data to the Red Hat Satellite.

2018-08-21 03:39:37,317 [WARNING] @config.py:1395 - [global]: Value for "reporter_id" not set, using default: virt-who-server-7cb0081a4d314cf4877c468435e64a91
2018-08-21 03:39:37,317 [WARNING] @config.py:1395 - [global]: Value for "log_dir" not set, using default: /var/log/rhsm
2018-08-21 03:39:37,317 [WARNING] @config.py:1395 - [global]: Value for "background" not set, using default: False
2018-08-21 03:39:37,317 [WARNING] @config.py:1395 - [global]: Value for "debug" not set, using default: False
2018-08-21 03:39:37,317 [WARNING] @config.py:1395 - [global]: Value for "configs" not set, using default: []
2018-08-21 03:39:37,317 [WARNING] @config.py:1395 - [global]: Value for "log_file" not set, using default: rhsm.log
2018-08-21 03:39:37,317 [WARNING] @config.py:1395 - [virt-who-config-1]: Value for "simplified_vim" not set, using default: True
2018-08-21 03:39:37,317 [WARNING] @config.py:1395 - [virt-who-config-1]: Value for "is_hypervisor" not set, using default: True
2018-08-21 03:39:37,318 [INFO] @main.py:158 - Using configuration "virt-who-config" ("esx" mode)
2018-08-21 03:39:37,318 [INFO] @main.py:160 - Using reporter_id='virt-who-server-7cb0081a4cc468435e64a91'
2018-08-21 03:40:20,402 [INFO] @virt.py:922 - Report for config "virt-who-config-1" gathered, placing in datastore
2018-08-21 03:40:22,039 [INFO] @virt.py:922 - Report for config "virt-who-config-1" gathered, placing in datastore
2018-08-21 03:40:22,571 [INFO] @virt.py:589 - Hosts-to-guests mapping for config "virt-who-config": 267 hypervisors and 16519 guests found
2018-08-21 03:40:22,572 [INFO] @virt.py:620 - Sending updated Host-to-guest mapping to "<Organization>" including 267 hypervisors and 12345 guests
2018-08-21 03:40:22,659 [ERROR] @virt.py:388 - Thread 'destination_-125347625974500564' fails with exception:
RemoteServerException: Server error attempting a GET to /rhsm/status/ returned status 404
2018-08-21 03:40:22,661 [INFO] @virt.py:553 - Error report received
2018-08-21 03:40:22,661 [INFO] @virt.py:407 - Waiting 7200 seconds before performing action again 'destination_-125347625974500564'
2018-08-21 03:40:24,926 [INFO] @virt.py:922 - Report for config "virt-who-config-1" gathered, placing in datastore
2018-08-21 03:40:25,985 [INFO] @virt.py:922 - Report for config "virt-who-config-1" gathered, placing in datastore
2018-08-21 03:40:27,211 [INFO] @virt.py:922 - Report for config "virt-who-config-1" gathered, placing in datastore

Resolution

On the server running virt-who, edit /etc/virt-who.conf and add:

rhsm_port=443

For more KB articles/solutions related to Virt-who and Virtual Datacenter (VDC) Subscriptions Issues, please refer to the Consolidated Troubleshooting Article for Virt-who and Virtual Datacenter (VDC) Subscriptions Issues

Root Cause

While it is possible to configure a virt-who server from the graphical user interface on the Satellite, advanced configuration needs to be done directly in the configuration file.

SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.