virt-who error configuring Hyper-V "Error when enumerating using root/virtualization namespace, trying root/virtualization/v2 namespace"

Solution Verified - Updated -

Issue

  • Error configuring virt-who with Hyper-V:
2015-05-07 09:03:43,677 [DEBUG]  @hyperv.py:325 - Error when enumerating using root/virtualization namespace, trying root/virtualization/v2 namespace
2015-05-07 09:03:43,680 [DEBUG]  @hyperv.py:258 - Using NTLM authentication
2015-05-07 09:03:43,737 [DEBUG]  @hyperv.py:285 - NTLM authentication successful
2015-05-07 09:03:48,804 [ERROR]  @virtwho.py:121 - Unable to recover, retry in 60 seconds.
2015-05-07 09:03:48,806 [DEBUG]  @hyperv.py:208 - Hyper-V url: http://10.100.10.100:5985/wsman
2015-05-07 09:03:48,809 [DEBUG]  @hyperv.py:258 - Using NTLM authentication
2015-05-07 09:03:53,904 [DEBUG]  @hyperv.py:290 - Using Basic authentication
2015-05-07 09:03:53,909 [DEBUG]  @hyperv.py:325 - Error when enumerating using root/virtualization namespace, trying root/virtualization/v2 namespace
2015-05-07 09:03:53,911 [DEBUG]  @hyperv.py:258 - Using NTLM authentication
2015-05-07 09:03:58,998 [DEBUG]  @hyperv.py:290 - Using Basic authentication
2015-05-07 09:03:59,003 [ERROR]  @virtwho.py:118 - Error in communication with virtualization backend, trying to recover:
Traceback (most recent call last):
  File "/usr/share/virt-who/virtwho.py", line 111, in _send
    virtualGuests = self._readGuests(config)
  File "/usr/share/virt-who/virtwho.py", line 147, in _readGuests
    return virt.getHostGuestMapping()
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 327, in getHostGuestMapping
    return self.getHostGuestMapping()
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 322, in getHostGuestMapping
    "root/virtualization/v2")
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 123, in Enumerate
    response = self.post(data)
  File "/usr/share/virt-who/virt/hyperv/hyperv.py", line 101, in post
    raise HyperVAuthFailed("Authentication failed")
HyperVAuthFailed: Authentication failed

Environment

  • RHEL Virtual Datacenter
  • virt-who
  • Hyper-V

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