Skip to content

Errors: Generating the NSX-T Data Center Health Report #22

@tenthirtyam

Description

@tenthirtyam

Code of Conduct

  • I have read and agree to the Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation

4.4.1

Module Version

1.0.4

PowerShell Version

Windows PowerShell 5.1

PowerCLI Version

12.7.0

PowerVCF Version

2.2.0

Guest Operating System

Windows Server 2019

Environment Details

Scale Testing Environment

Description

Errors seen in Invoke-VcfHealthReport:

 [11-17-2022_16:29:21] INFO Starting the process of creating a Health Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:29:21] INFO Setting up the log file to path C:\Reporting\logs\Invoke-VcfHealthReport-11-17-2022_04_29_21.log.
 [11-17-2022_16:29:21] INFO Setting up report folder and report C:\Reporting\HealthReports\11-17-2022_04_29_16-health-foo.htm.
 [11-17-2022_16:29:21] INFO Running an SoS Health Check for VMware Cloud Foundation instance (foo.rainpole.io), process takes time.
 [11-17-2022_16:37:02] INFO Generating the Service Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:02] INFO Generating the DNS Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:02] INFO Generating the NTP Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:02] INFO Generating the Certificate Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:02] INFO Generating the ESXi Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:02] INFO Generating the vSAN Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:02] INFO Generating the vSAN Storage Policy Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:02] INFO Generating the vCenter Server Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:06] INFO Generating the ESXi Connection Health Data report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:37:46] INFO Generating the NSX-T Data Center Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:38:13]   Error at Script Line 3483
 [11-17-2022_16:38:13]   Relevant Command: if (Test-NSXTAuthentication -server $vcfNsxDetails.fqdn -user $vcfNsxDetails.adminUser -pass $vcfNsxDetails.adminPass) {
 [11-17-2022_16:38:13]   Error Message: Cannot process argument transformation on parameter 'user'. Cannot convert value to type System.String.
 [11-17-2022_16:38:17]   Error at Script Line 3572
 [11-17-2022_16:38:17]   Relevant Command: if (Test-NSXTAuthentication -server $vcfNsxDetails.fqdn -user $vcfNsxDetails.adminUser -pass $vcfNsxDetails.adminPass) {
 [11-17-2022_16:38:17]   Error Message: Cannot process argument transformation on parameter 'user'. Cannot convert value to type System.String.
 [11-17-2022_16:38:33]   Error at Script Line 3483
 [11-17-2022_16:38:33]   Relevant Command: if (Test-NSXTAuthentication -server $vcfNsxDetails.fqdn -user $vcfNsxDetails.adminUser -pass $vcfNsxDetails.adminPass) {
 [11-17-2022_16:38:33]   Error Message: Cannot process argument transformation on parameter 'user'. Cannot convert value to type System.String.
 [11-17-2022_16:38:37]   Error at Script Line 3572
 [11-17-2022_16:38:37]   Relevant Command: if (Test-NSXTAuthentication -server $vcfNsxDetails.fqdn -user $vcfNsxDetails.adminUser -pass $vcfNsxDetails.adminPass) {
 [11-17-2022_16:38:37]   Error Message: Cannot process argument transformation on parameter 'user'. Cannot convert value to type System.String.
 [11-17-2022_16:38:37] INFO Generating the Connectivity Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:39:09] INFO Generating the Backup Status Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:40:07] INFO Generating the SDDC Manager Free Pool Health for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:40:19] INFO Generating the Snapshots Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:41:20] INFO Generating the Password Expiry Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:56:10] INFO Generating the NSX Transport Node Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:56:32] INFO Generating the NSX Transport Node Tunnel Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:57:04] INFO Generating the NSX Tier-0 Gateway BGP Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:57:29] INFO Generating the Disk Capacity Report for VMware Cloud Foundation instance (foo.rainpole.io).'
 [11-17-2022_17:00:47] INFO Generating the Virtual Machines with Connected CD-ROM Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_17:01:28] INFO Generating the final report and saving to (C:\Reporting\HealthReports\11-17-2022_04_29_16-health-foo.htm).

Error or Debug Output

 [11-17-2022_16:29:21] INFO Starting the process of creating a Health Report for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:29:21] INFO Setting up the log file to path C:\Reporting\logs\Invoke-VcfHealthReport-11-17-2022_04_29_21.log.
 [11-17-2022_16:29:21] INFO Setting up report folder and report C:\Reporting\HealthReports\11-17-2022_04_29_16-health-foo.htm.
 [11-17-2022_16:29:21] INFO Running an SoS Health Check for VMware Cloud Foundation instance (foo.rainpole.io), process takes time.
...
 [11-17-2022_16:37:46] INFO Generating the NSX-T Data Center Health Report using the SoS output for VMware Cloud Foundation instance (foo.rainpole.io).
 [11-17-2022_16:38:13]   Error at Script Line 3483
 [11-17-2022_16:38:13]   Relevant Command: if (Test-NSXTAuthentication -server $vcfNsxDetails.fqdn -user $vcfNsxDetails.adminUser -pass $vcfNsxDetails.adminPass) {
 [11-17-2022_16:38:13]   Error Message: Cannot process argument transformation on parameter 'user'. Cannot convert value to type System.String.
 [11-17-2022_16:38:17]   Error at Script Line 3572
 [11-17-2022_16:38:17]   Relevant Command: if (Test-NSXTAuthentication -server $vcfNsxDetails.fqdn -user $vcfNsxDetails.adminUser -pass $vcfNsxDetails.adminPass) {
 [11-17-2022_16:38:17]   Error Message: Cannot process argument transformation on parameter 'user'. Cannot convert value to type System.String.
 [11-17-2022_16:38:33]   Error at Script Line 3483
 [11-17-2022_16:38:33]   Relevant Command: if (Test-NSXTAuthentication -server $vcfNsxDetails.fqdn -user $vcfNsxDetails.adminUser -pass $vcfNsxDetails.adminPass) {
 [11-17-2022_16:38:33]   Error Message: Cannot process argument transformation on parameter 'user'. Cannot convert value to type System.String.
 [11-17-2022_16:38:37]   Error at Script Line 3572
 [11-17-2022_16:38:37]   Relevant Command: if (Test-NSXTAuthentication -server $vcfNsxDetails.fqdn -user $vcfNsxDetails.adminUser -pass $vcfNsxDetails.adminPass) {
...
 [11-17-2022_17:01:28] INFO Generating the final report and saving to (C:\Reporting\HealthReports\11-17-2022_04_29_16-health-foo.htm).

Expected Behavior

No errors when generating the NSX-T Data Center Health Report.

Actual Behavior

Console errors when generating the NSX-T Data Center Health Report.

Steps to Reproduce

$sddcManagerFqdn = "foo.rainpole.local"
$sddcManagerUser = "administrator@vsphere.local"
$sddcManagerPass = "********"

$sddcManagerRootPass = "********"
$reportPath = "C:\Reporting"

Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -sddcManagerRootPass $sddcManagerRootPass -reportPath $reportPath -allDomains

Log Fragments and Files

No response

Screenshots

No response

References

No response

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions