Share via

I am getting this error during hci setup

Anonymous
2024-06-15T16:53:03.0933333+00:00

Type 'ValidateNetwork' of Role 'EnvironmentValidator' raised an exception: Cannot index into a null array. at Test-MgmtIpRange, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHci.Network.Helpers.psm1: line 299 at

Community Center | Not monitored

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-03T13:27:22.3166667+00:00

    I encountered this error in two different cluster deployments:

    Scenario 1: Only one network interface was assigned to the management network.

    Solution 1: Assign two network interfaces to the management network.

    Scenario 2: Two network interfaces were assigned to the management network, but they belonged to different network adapters, such as “PCIe Slot 3 Port 1” and “PCIe Slot 4 Port 1”.

    Solution 2: Use network interfaces from the same physical network adapter, for example, “PCIe Slot 3 Port 1” and “PCIe Slot 3 Port 2”.

    0 comments No comments

  2. Akos Berecz 0 Reputation points
    2024-07-04T08:18:43.61+00:00

    Hi Guys,

    I hade the same problem. A tried many things. Finally this article gave mi a hint: https://learn.microsoft.com/en-gb/answers/questions/1632654/azure-stack-hci-23h2-deployment-fails-due-to-a-spa

    I have changed the names of the network interfaces in a way that they do not contains spaces. (for Example from: "PCIe Slot 3 Port 1" to "MGMT01".) I did it with all the adapters. After that I had to change the interfaces in the wizard on the Azure portal too.

    (I have opened a ticket too and the engineer confirmed that it is recommended to not have a space in the names of the network adapters.)

    Then the validation was successful. I hope it will help!

    Bests,

    Ákos


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.