You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the health check to compare DLR routing table on hosts. IT fails on the very host with following error:
Validating routing table of ESXi server loc501mgmtvs02.corp.unifirst.com
[-] Error occurred in test script 'C:\Users\Public\Documents\nsx-powerops-master/HealthCheck/testNSXDlrHostRoutingTable.Tests.ps1' 21.79s
RuntimeException: The It command may only be used inside a Describe block.
at Assert-DescribeInProgress, C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Functions\Describe.ps1: line 125
at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Functions\It.ps1: line 140
at It, C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Functions\It.ps1: line 117
at , C:\Users\Public\Documents\nsx-powerops-master\HealthCheck\testNSXDlrHostRoutingTable.Tests.ps1: line 287
at , C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Pester.psm1: line 297
at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Pester.psm1: line 310
at runNSXTest, C:\Users\Public\Documents\nsx-powerops-master\updated-2.5-nsx-PowerOps.ps1.ps1: line 1322
at , C:\Users\Public\Documents\nsx-powerops-master\updated-2.5-nsx-PowerOps.ps1.ps1: line 1736
at Show-MenuV2, C:\Users\Public\Documents\nsx-powerops-master\util.ps1: line 328
at , C:\Users\Public\Documents\nsx-powerops-master\updated-2.5-nsx-PowerOps.ps1.ps1: line 1667
at Show-MenuV2, C:\Users\Public\Documents\nsx-powerops-master\util.ps1: line 328
at , C:\Users\Public\Documents\nsx-powerops-master\updated-2.5-nsx-PowerOps.ps1.ps1: line 1915
at , : line 1
The text was updated successfully, but these errors were encountered:
@dhogue - you may need to update the Pester module to not see the RuntimeException.
This healthcheck is a beta as we are having issues getting this to work properly. However, the text output produced is still useful hence we are leaving it in the code hoping someone from community may take up the challenge and solve it.
When running the health check to compare DLR routing table on hosts. IT fails on the very host with following error:
Validating routing table of ESXi server loc501mgmtvs02.corp.unifirst.com
[-] Error occurred in test script 'C:\Users\Public\Documents\nsx-powerops-master/HealthCheck/testNSXDlrHostRoutingTable.Tests.ps1' 21.79s
RuntimeException: The It command may only be used inside a Describe block.
at Assert-DescribeInProgress, C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Functions\Describe.ps1: line 125
at ItImpl, C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Functions\It.ps1: line 140
at It, C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Functions\It.ps1: line 117
at , C:\Users\Public\Documents\nsx-powerops-master\HealthCheck\testNSXDlrHostRoutingTable.Tests.ps1: line 287
at , C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Pester.psm1: line 297
at Invoke-Pester, C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Pester.psm1: line 310
at runNSXTest, C:\Users\Public\Documents\nsx-powerops-master\updated-2.5-nsx-PowerOps.ps1.ps1: line 1322
at , C:\Users\Public\Documents\nsx-powerops-master\updated-2.5-nsx-PowerOps.ps1.ps1: line 1736
at Show-MenuV2, C:\Users\Public\Documents\nsx-powerops-master\util.ps1: line 328
at , C:\Users\Public\Documents\nsx-powerops-master\updated-2.5-nsx-PowerOps.ps1.ps1: line 1667
at Show-MenuV2, C:\Users\Public\Documents\nsx-powerops-master\util.ps1: line 328
at , C:\Users\Public\Documents\nsx-powerops-master\updated-2.5-nsx-PowerOps.ps1.ps1: line 1915
at , : line 1
The text was updated successfully, but these errors were encountered: