While setting up virt-who against HyperV it fails with error "HyperVAuthFailed: NTLM negotiation failed"

Solution In Progress - Updated -


  • How to use NTLM authentication with virt-who
  • virt-who + HyperV setup fails with following error message :-
File "/usr/share/virt-who/virtwho.py", line 147, in _readGuests
    return virt.getHostGuestMapping()
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 310, in getHostGuestMapping
    connection, headers = self.connect()
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 245, in connect
    self.ntlmAuth(connection, headers)
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 287, in ntlmAuth
    raise HyperVAuthFailed("NTLM negotiation failed")
HyperVAuthFailed: NTLM negotiation failed
2014-11-23 23:25:50,420 [ERROR]  @virtwho.py:121 - Unable to recover, retry in 60 seconds.


  • Red Hat Enterprise Linux 6, 7
  • virt-who
  • Hyper-V

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