The virt-who fails to report guests and hosts mapping on Subscription Asset Manager with error 'undefined local variable or method `hypervisor''

Solution Unverified - Updated -


  • The virt-who fails to report guests and hosts mapping with error as below,
# less /var/log/rhsm/rhsm.log
[ERROR] - Error in communication with subscription manager, trying to recover:
Traceback (most recent call last):
  File "/usr/share/virt-who/", line 190, in _send
    result = self.subscriptionManager.hypervisorCheckIn(self.options.esx_owner, self.options.esx_env, virtualGuests)
  File "/usr/share/virt-who/", line 92, in hypervisorCheckIn
    return self.connection.hypervisorCheckIn(owner, env, mapping)
  File "/usr/lib64/python2.4/site-packages/rhsm/", line 678, in hypervisorCheckIn
    return self.conn.request_post(url, host_guest_mapping)
  File "/usr/lib64/python2.4/site-packages/rhsm/", line 484, in request_post
    return self._request("POST", method, params)
  File "/usr/lib64/python2.4/site-packages/rhsm/", line 443, in _request
  File "/usr/lib64/python2.4/site-packages/rhsm/", line 468, in validateResponse
    raise RestlibException(response['status'], error_msg)
RestlibException: undefined local variable or method `hypervisor' for #<Class:0x000000053cbb58>
2013-09-04 05:49:11,252 [DEBUG] - Sending update in hosts-to-guests mapping: {806dd54d-c637-e011-8bb1-ef6d3f96e567: [42341b36-0580-a5a7-e479-4ef57441201c, 4234417e-61f3-8acf-0ad5-384b1a56a7ff]}


  • Red Hat Enterprise Linux(RHEL)
  • Subscription Asset Manager(SAM)
  • VMware ESX

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In