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
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
PowerShell Version
Windows PowerShell 5.1
Module Version
1.0.4
PowerValidatedSolution Version
1.9.0
PowerVCF Version
2.2.0
PowerCLI Version
12.7.0
Guest Operating System
Windows Server 2019
Environment Details
Scale Lab
Description
When running the health report the following error is returned when checking the SDDC Manager Free Pool Health:
[11-21-2022_16:02:33] INFO Generating the SDDC Manager Free Pool Health for Workload Domain (sfo-w01).
[11-21-2022_16:02:37] Error at Script Line 5665
[11-21-2022_16:02:37] Relevant Command: $expiryDate= [math]::Ceiling((([DateTime]$expirationDate) - (Get-Date)).TotalDays)
[11-21-2022_16:02:37] Error Message: Cannot convert null to type "System.DateTime".
[11-21-2022_16:02:37] INFO Generating the Snapshots Report for Workload Domain (sfo-w01).
[11-21-2022_16:02:49] INFO Generating the Password Expiry Report for Workload Domain (sfo-w01).
[11-21-2022_16:03:53] INFO Generating the NSX Transport Node Report for Workload Domain (sfo-w01).
[11-21-2022_16:03:58] INFO Generating the NSX Transport Node Tunnel Report for Workload Domain (sfo-w01).
[11-21-2022_16:04:05] INFO Generating the NSX Tier-0 Gateway BGP Report for Workload Domain (sfo-w01).
[11-21-2022_16:04:12] INFO Generating the Disk Capacity Report for Workload Domain (sfo-w01).' [11-21-2022_16:04:49] INFO Generating the Virtual Machines with Connected CD-ROM Report for Workload Domain (sfo-w01). [11-21-2022_16:04:57] INFO Generating the final report and saving to (C:\Reporting\HealthReports\11-21-2022_04_01_24-health-sfo-w01.htm).
Error or Debug Output
[11-21-2022_16:01:29] INFO Starting the process of creating a Health Report for Workload Domain (sfo-w01).
[11-21-2022_16:01:29] INFO Setting up the log file to path C:\Reporting\logs\Invoke-VcfHealthReport-11-21-2022_04_01_29.log.
[11-21-2022_16:01:29] INFO Setting up report folder and report C:\Reporting\HealthReports\11-21-2022_04_01_24-health-sfo-w01.htm.
[11-21-2022_16:01:29] INFO Running an SoS Health Check for Workload Domain (sfo-w01),process takes time.
[11-21-2022_16:01:51] INFO Generating the Service Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:01:51] INFO Generating the DNS Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:01:51] INFO Generating the NTP Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:01:51] INFO Generating the Certificate Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:01:51] INFO Generating the ESXi Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:01:51] INFO Generating the vSAN Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:01:51] INFO Generating the vSAN Storage Policy Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:01:51] INFO Generating the vCenter Server Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:01:53] INFO Generating the ESXi Connection Health Data report for Workload Domain (sfo-w01).
[11-21-2022_16:02:02] INFO Generating the NSX-T Data Center Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:02:11] INFO Generating the Connectivity Health Report using the SoS output for Workload Domain (sfo-w01).
[11-21-2022_16:02:20] INFO Generating the Backup Status Report for Workload Domain (sfo-w01).
[11-21-2022_16:02:33] INFO Generating the SDDC Manager Free Pool Health for Workload Domain (sfo-w01).
[11-21-2022_16:02:37] Error at Script Line 5665
[11-21-2022_16:02:37] Relevant Command: $expiryDate= [math]::Ceiling((([DateTime]$expirationDate) - (Get-Date)).TotalDays)
[11-21-2022_16:02:37] Error Message: Cannot convert null to type "System.DateTime".
[11-21-2022_16:02:37] INFO Generating the Snapshots Report for Workload Domain (sfo-w01).
[11-21-2022_16:02:49] INFO Generating the Password Expiry Report for Workload Domain (sfo-w01).
[11-21-2022_16:03:53] INFO Generating the NSX Transport Node Report for Workload Domain (sfo-w01).
[11-21-2022_16:03:58] INFO Generating the NSX Transport Node Tunnel Report for Workload Domain (sfo-w01).
[11-21-2022_16:04:05] INFO Generating the NSX Tier-0 Gateway BGP Report for Workload Domain (sfo-w01).
[11-21-2022_16:04:12] INFO Generating the Disk Capacity Report for Workload Domain (sfo-w01).' [11-21-2022_16:04:49] INFO Generating the Virtual Machines with Connected CD-ROM Report for Workload Domain (sfo-w01). [11-21-2022_16:04:57] INFO Generating the final report and saving to (C:\Reporting\HealthReports\11-21-2022_04_01_24-health-sfo-w01.htm).PS C:\Users\Administrator> +
Expected Behavior
Check the free pool without error and return the results.
Actual Behavior
Does not return the correct data for the free pool and errors:
[11-21-2022_16:02:33] INFO Generating the SDDC Manager Free Pool Health for Workload Domain (sfo-w01).
[11-21-2022_16:02:37] Error at Script Line 5665
[11-21-2022_16:02:37] Relevant Command: $expiryDate= [math]::Ceiling((([DateTime]$expirationDate) - (Get-Date)).TotalDays)
[11-21-2022_16:02:37] Error Message: Cannot convert null to type "System.DateTime".
[11-21-2022_16:02:37] INFO Generating the Snapshots Report for Workload Domain (sfo-w01).
[11-21-2022_16:02:49] INFO Generating the Password Expiry Report for Workload Domain (sfo-w01).
[11-21-2022_16:03:53] INFO Generating the NSX Transport Node Report for Workload Domain (sfo-w01).
[11-21-2022_16:03:58] INFO Generating the NSX Transport Node Tunnel Report for Workload Domain (sfo-w01).
[11-21-2022_16:04:05] INFO Generating the NSX Tier-0 Gateway BGP Report for Workload Domain (sfo-w01).
[11-21-2022_16:04:12] INFO Generating the Disk Capacity Report for Workload Domain (sfo-w01).' [11-21-2022_16:04:49] INFO Generating the Virtual Machines with Connected CD-ROM Report for Workload Domain (sfo-w01). [11-21-2022_16:04:57] INFO Generating the final report and saving to (C:\Reporting\HealthReports\11-21-2022_04_01_24-health-sfo-w01.htm).
Updates `Request-SddcManagerFreePool` function:
- Typo in description.
- Sets the $expiryDate = 0 if the license has expired.
Closes#29
Signed-off-by: Ryan Johnson <[email protected]>
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Code of Conduct
VMware Cloud Foundation
4.4.1
PowerShell Version
Windows PowerShell 5.1
Module Version
1.0.4
PowerValidatedSolution Version
1.9.0
PowerVCF Version
2.2.0
PowerCLI Version
12.7.0
Guest Operating System
Windows Server 2019
Environment Details
Scale Lab
Description
When running the health report the following error is returned when checking the SDDC Manager Free Pool Health:
Error or Debug Output
Expected Behavior
Check the free pool without error and return the results.
Actual Behavior
Does not return the correct data for the free pool and errors:
Steps to Reproduce
Log Fragments and Files
No response
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered: