Skip to main content
NetApp Knowledge Base

Hyper-V data collector in Cloud Insights fails inventory with error: "General Error"

Views:
220
Visibility:
Public
Votes:
0
Category:
data-infrastructure-insights
Specialty:
bluexp_insights
Last Updated:
5/17/2024, 12:22:58 PM

Applies to

  • Cloud Insights (CI)
  • Microsoft Hyper-V data collector

Issue

  • A Microsoft Hyper-V data collector in Cloud Insights is failing inventory collections with a generic error: General Error
  • Review of the log_sample.log from the inventory recording file reveals more information about the error:
    [DEBUG] Remote Host - ComputerNameSwitch - IP : 10.10.10.10 [10.10.10.10] Connecting to remote server 10.10.10.10 failed with the following error message : The client cannot connect to the destination specified in the request.
    Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (10.10.10.10:String) [], PSRemotingTransportException + FullyQualifiedErrorId : CannotConnect,PSSessionStateBroken

  • Checking the WinRM service on the Hyper-V nodes shows that the service is running:
    Hyper-V data collector in Cloud Insights fails inventory with error:
  • The netstat command shows nothing listening on ports 5985 or 5986
    netstat -an | findstr /i "listen" | findstr "5985 5986"

    Example:
    C:\Users\Administrator> netstat -an | findstr /i "listen" | findstr "5985 5986"

    C:\Users\Administrator>

  • Running the following PowerShell command shows no listener configured for remote WinRM connections:
    winrm enumerate winrm/config/listener

    Hyper-V data collector in Cloud Insights fails inventory with error: General Error

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.