When virt-who is configured against Red Hat Satellite v 5.x, it tries to connect to vCenter server using XMLRPC instead of connecting to Red Hat Satellite server.

Solution Verified - Updated -


  • I am trying to run virt-who on the Satellite server (satellite.example.com) itself. For testing purpose I have started it from the command line:
# virt-who -d --esx --satellite --esx-owner=1 --esx-server=vCenter.example.com --esx-username=root --esx-password='XXXXXXXX' --esx-env=XXX --satellite-server=satellite.example.com --satellite-username='admin' --satellite-password='XXXXXX'

INFO: Using virt-who configuration: virt-who
DEBUG: Starting infinite loop with 3600 seconds interval
INFO: Sending update in hosts-to-guests mapping: {[ ... STRIP .... ]}
DEBUG: Loading systemid for 34393133-3136-435a-3230-333443434439
DEBUG: Loading system id info from /var/lib/virt-who/hypervisor-systemid-34393133-3136-435a-3230-333443434439
ERROR: Unable to refresh HW profile
Traceback (most recent call last):
  File "/usr/share/virt-who/manager/satellite/satellite.py", line 80, in _load_hypervisor
    "unknown", "6Server", "x86_64", self.username, self.password, {})
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request
ProtocolError: <ProtocolError for vCenter.example.com/XMLRPC: 400 Bad Request>
ERROR: Error in communication with subscription manager, trying to recover:
Traceback (most recent call last):
  File "/usr/share/virt-who/virtwho.py", line 125, in _send
    self._sendGuests(config, virtualGuests)
  File "/usr/share/virt-who/virtwho.py", line 154, in _sendGuests
    result = manager.hypervisorCheckIn(config, virtualGuests)
  File "/usr/share/virt-who/manager/satellite/satellite.py", line 151, in hypervisorCheckIn
    hypervisor_systemid = self._load_hypervisor(hypervisor_uuid, type=type)
  File "/usr/share/virt-who/manager/satellite/satellite.py", line 84, in _load_hypervisor
    raise SatelliteError("Unable to refresh HW profile: %s" % str(e))
SatelliteError: Unable to refresh HW profile: <ProtocolError for vCenter.example.com/XMLRPC: 400 Bad Reques

Why is it trying to connect to Satellite on vCenter.example.com ??

  • Why virt-who is trying to connect to vCenter server on XMLRPC instead of connecting to Satellite server?


  • Red Hat Satellite v 5.x
  • virt-who-0.8-15.el7_0 (RHEL 7)
  • virt-who-0.10-8.el6 ( RHEL 6)

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