Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

health check to compare DLR routing table on hosts #118

Open
dhogue opened this issue Oct 1, 2018 · 1 comment
Open

health check to compare DLR routing table on hosts #118

dhogue opened this issue Oct 1, 2018 · 1 comment

Comments

@dhogue
Copy link

dhogue commented Oct 1, 2018

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

@HammadAlam
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants