Deployment failure: Azure Stack HCI -Connectivity

Martijn Goorman 5 Reputation points
2024-06-12T14:49:40.46+00:00

I'd like to test Azure Stack HCI (23H2) but I'm stuck in my deployment during the connectivity step.
Different configurations tested for networking but all with the same result:

Azure portal shows:

Exception
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 <ScriptBlock>, <No file>: line 1 at Invoke-AzStackHciNetworkValidation, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHci.Network.psm1: line 169 at Test-AzStackHciNetwork, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHciNetwork.psm1: line 134 at <ScriptBlock>, <No file>: line 1 at RunSingleValidator, C:\NugetStore\AzStackHci.EnvironmentChecker.Deploy.1.2100.2671.410\content\Classes\EnvironmentValidator\EnvironmentValidator.psm1: line 612 at ValidateNetwork, C:\NugetStore\AzStackHci.EnvironmentChecker.Deploy.1.2100.2671.410\content\Classes\EnvironmentValidator\EnvironmentValidator.psm1: line 356 at <ScriptBlock>, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2405.0.397\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 134 at Invoke-EceInterfaceInternal, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2405.0.397\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 130

Also in the logging nothing usefull to find for troubleshooting:

2024-06-12 16:29:31 Verbose  [EnvironmentValidator:ValidateNetwork] Invoke-AzStackHciNetworkValidation failed
2024-06-12 16:29:31 Verbose  [EnvironmentValidator:ValidateNetwork] Validator failed. Cannot index into a null array.
2024-06-12 16:29:31 Verbose  [EnvironmentValidator:ValidateNetwork] at Test-MgmtIpRange, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHci.Network.Helpers.psm1: line 299
at <ScriptBlock>, <No file>: line 1
at Invoke-AzStackHciNetworkValidation, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHci.Network.psm1: line 169
at Test-AzStackHciNetwork, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHciNetwork.psm1: line 134
at <ScriptBlock>, <No file>: line 1
at RunSingleValidator, C:\NugetStore\AzStackHci.EnvironmentChecker.Deploy.1.2100.2671.410\content\Classes\EnvironmentValidator\EnvironmentValidator.psm1: line 612
at ValidateNetwork, C:\NugetStore\AzStackHci.EnvironmentChecker.Deploy.1.2100.2671.410\content\Classes\EnvironmentValidator\EnvironmentValidator.psm1: line 356
at <ScriptBlock>, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2405.0.397\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 134
at Invoke-EceInterfaceInternal, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2405.0.397\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 130
2024-06-12 16:29:31 Verbose  [EnvironmentValidator:ValidateNetwork] ECE PowerShellHost Script End
2024-06-12 16:29:31 Verbose  Interface: PowerShell job terminal state is Failed for interface 'ValidateNetwork'.
2024-06-12 16:29:31 Verbose  [PSTask Concurrency] [78>EnvironmentValidator:ValidateNetwork] Exiting throttling instance. Priority '0', Weight '10'.
2024-06-12 16:29:31 Verbose  [PSTask Concurrency] [78>EnvironmentValidator:ValidateNetwork] Parallel task count decreased by '10' to '0'.
2024-06-12 16:29:31 Warning  Task: Invocation of interface 'ValidateNetwork' of role 'Cloud\Infrastructure\EnvironmentValidator' failed:

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 <ScriptBlock>, <No file>: line 1
at Invoke-AzStackHciNetworkValidation, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHci.Network.psm1: line 169
at Test-AzStackHciNetwork, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHciNetwork.psm1: line 134
at <ScriptBlock>, <No file>: line 1
at RunSingleValidator, C:\NugetStore\AzStackHci.EnvironmentChecker.Deploy.1.2100.2671.410\content\Classes\EnvironmentValidator\EnvironmentValidator.psm1: line 612
at ValidateNetwork, C:\NugetStore\AzStackHci.EnvironmentChecker.Deploy.1.2100.2671.410\content\Classes\EnvironmentValidator\EnvironmentValidator.psm1: line 356
at <ScriptBlock>, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2405.0.397\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 134
at Invoke-EceInterfaceInternal, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2405.0.397\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 130
2024-06-12 16:29:31 Error    Task: Invocation of interface 'ValidateNetwork' of role 'Cloud\Infrastructure\EnvironmentValidator' failed:

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 <ScriptBlock>, <No file>: line 1
at Invoke-AzStackHciNetworkValidation, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHci.Network.psm1: line 169
at Test-AzStackHciNetwork, C:\Program Files\WindowsPowerShell\Modules\AzStackHci.EnvironmentChecker\AzStackHciNetwork\AzStackHciNetwork.psm1: line 134
at <ScriptBlock>, <No file>: line 1
at RunSingleValidator, C:\NugetStore\AzStackHci.EnvironmentChecker.Deploy.1.2100.2671.410\content\Classes\EnvironmentValidator\EnvironmentValidator.psm1: line 612
at ValidateNetwork, C:\NugetStore\AzStackHci.EnvironmentChecker.Deploy.1.2100.2671.410\content\Classes\EnvironmentValidator\EnvironmentValidator.psm1: line 356
at <ScriptBlock>, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2405.0.397\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 134
at Invoke-EceInterfaceInternal, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2405.0.397\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 130
2024-06-12 16:29:31 Verbose  Step: Status of step '4 - Azure Stack HCI Network' is 'Error'.
2024-06-12 16:29:31 Verbose  Checking if any of the in progress steps are complete. The following steps are currently in progress: '4'.
2024-06-12 16:29:31 Verbose  Action: Action plan reached terminal state due to one of the steps. Finish running all remaining steps that may still be currently in progress before exiting.
2024-06-12 16:29:31 Verbose  Draining all steps that are still in progress. The following steps are still in progress or just completed: '4'.
2024-06-12 16:29:31 Verbose  Action: Action plan 'EnvironmentValidatorFull' failed.
2024-06-12 16:29:31 Error    Action: Invocation of step 4 failed. Stopping invocation of action plan.

Azure Stack HCI
Azure Stack HCI
A hyperconverged infrastructure operating system delivered as an Azure service that provides security, performance, and feature updates.
356 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Stefan Horz 3,466 Reputation points
    2024-06-17T09:01:31.8166667+00:00

    Hi Martijn,

    check if the virtual Host has Nested Virtualization enabled:

    Get-VMProcessor -VMName 'HOST1' | select VMName, ExposeVirtualizationExtensions
    

    Check also that the on the Networkadaters you selected for deployment MacAddressSpoofing is enabled:

    Get-VMNetworkAdapter -VMName 'HOST1' | select VMName, Name, MacAddressSpoofing 
    
    

    Regards,

    Stefan

    0 comments No comments

Your answer

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