Cannot add storage system to SCVMM again

Zheng, Wendy 0 Reputation points
2024-05-20T03:33:05.18+00:00

I'm trying to add a Unity storage system to SCVMM. At the first time, I failed because my network is not properly configured. After I fix my network, then I retry adding the storage system, I always fail with following error:image-2024-04-08-11-31-35-914

According to the investigation in Unity system logs, it receives an invalid request which looks like trying to call vmware interface and rejects it. Here is the SCVMM log:

2024/05/17-02:50:16.488255300 [Microsoft-VirtualMachineManager-Debug] WebException [ex#555] caught by Connect (catch Exception) [[(WebException#2d87d36) System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
   at System.Net.Sockets.Socket.MultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers)
   at System.Net.Security._SslStream.StartWriting(SplitWritesState splitWrite, SplitWriteAsyncProtocolRequest asyncRequest)
   at System.Net.Security._SslStream.ProcessWrite(BufferOffsetSize[] buffers, SplitWriteAsyncProtocolRequest asyncRequest)
   at System.Net.TlsStream.MultipleWrite(BufferOffsetSize[] buffers)
   at System.Net.Connection.Write(ScatterGatherBuffers writeBuffer)
   at System.Net.ConnectStream.ResubmitWrite(ConnectStream oldStream, Boolean suppressWrite)
   --- End of inner exception stack trace ---
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.VirtualManager.VMWareService.VimService.RetrieveServiceContent(ManagedObjectReference _this)
   at Microsoft.Carmine.VMWareImplementation.VimServiceConnection.Connect()]] 

System Center Virtual Machine Manager
Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
876 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. XinGuo-MSFT 15,166 Reputation points
    2024-05-21T08:10:10.6566667+00:00

    Hi,

    I’m sorry to hear that you’re having trouble adding a Unity storage system to SCVMM. The error message you’re seeing suggests that there’s an issue with the underlying connection being closed unexpectedly. This could be due to a variety of factors, including network configuration, firewall settings, or issues with the storage system itself.

    Here are some general steps you can try:

    Check Network Configuration: Ensure that your network is properly configured and that the SCVMM server can communicate with the Unity storage system.

    Check Firewall Settings: Make sure that any firewalls between the SCVMM server and the Unity storage system are configured to allow the necessary traffic.

    Update System Software: Ensure that both the SCVMM server and the Unity storage system are running the latest software versions.

    Re-add the Storage System: Try removing the Unity storage system from SCVMM and then re-adding it. https://learn.microsoft.com/en-us/system-center/vmm/storage-device?view=sc-vmm-2022


  2. Zheng, Wendy 0 Reputation points
    2024-05-21T08:42:56.5+00:00

    I'm sure there is no network issue between VMM and Unity, since I can use SMIS client written by python with pywbem module to connect to the Unity from VMM machine, CIMXML request and be sent and response can be received successfully. Every time VMM retries to add the Unity, it sends an invalid request to Unity and Unity rejects it. Here is the log on Unity:

    17-May-2024 07:30:07.293 -3550477120-T- NAVSocket: HTTP input:
    ------------------------------ Input trace from 0:0:0:0:0:FFFF:AE5:E032:54593 Segment 1 ------------------------------
    POST / HTTP/1.1
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)
    Content-Type: text/xml; charset=utf-8
    SOAPAction: "urn:vim25/4.1"
    Host: ********:5989
    Content-Length: 366
    Expect: 100-continue
    Connection: Keep-Alive17-May-2024 07:30:07.294 -3550477120-T- NAVSocket: HTTP output:
    ------------------------------ Output trace to 0:0:0:0:0:FFFF:AE5:E032:54593 Segment 1 ------------------------------
    HTTP/1.1 405 Method Not Allowed
    Content-Length: 0
    Connection: close
     
    

    Can you check why VMM sends such request?

    And there is a workaround. If the downloaded certificate of the Unity system is removed from the system and try again to add the Unity, it will retry the whole process and the system can be added successfully.

    0 comments No comments