Translated message

A translation of this page exists in English.

virt-who が Hyper-V に接続できず、HyperVException: Communication with Hyper-V failed, HTTP error: 415 エラーが出力される

Solution Unverified - Updated -

Issue

  • virt-who が Hyper-V に接続できず、以下のエラーが出力されます。
2016-03-01 16:13:43,313 [DEBUG]  @hyperv.py:172 - Hyper-V url: http://SCVMM-Server:5985/wsman
2016-03-01 16:13:43,327 [DEBUG]  @hyperv.py:222 - Using NTLM authentication
2016-03-01 16:13:43,368 [DEBUG]  @hyperv.py:249 - NTLM authentication successful
2016/03/01 16:13:43,421 [ERROR]  @virt-who.py:210 - Unable to recover, retry in 60 seconds.
2016-03-01 16:14:43,413 [DEBUG]  @hyperv.py:172 - Hyper-V url: http://SCVMM-Server:5985/wsman
2016-03-01 16:14:43,430 [DEBUG]  @hyperv.py:222 - Using NTLM authentication
2016-03-01 16:14:43,471 [DEBUG]  @hyperv.py:249 - NTLM authentication successful
2016-03-01 16:14:43,523 [ERROR]  @virt-who.py:207 - Error in communication with virt backend, trying to recover:
Traceback (most recent call last):
  File "/usr/share/virt-who/virt-who.py", line 198, in _send
    virtualGuests = self.virt.getHostGuestMapping()
  File "/usr/share/virt-who/hyperv.py", line 277, in getHostGuestMapping
    uuid = hypervsoap.Enumerate("select BIOSGUID from Msvm_VirtualSystemSettingData where SettingType = 3")
  File "/usr/share/virt-who/hyperv.py", line 95, in Enumerate
    response = self.post(data)
  File "/usr/share/virt-who/hyperv.py", line 75, in post
    raise HyperVException("Communication with Hyper-V failed, HTTP error: %d" % response.status)
HyperVException: Communication with Hyper-V failed, HTTP error: 415
2016-03-01 16:14:43,524 [DEBUG]  @hyperv.py:172 - Hyper-V url: http://SCVMM-Server:5985/wsman
2016-03-01 16:14:43,539 [DEBUG]  @hyperv.py:222 - Using NTLM authentication
2016-03-01 16:14:43,576 [DEBUG]  @hyperv.py:249 - NTLM authentication successful

Environment

  • Red Hat Enterprise Linux 6 および 7
  • Microsoft Hyper-V
  • virt-who

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