VMware Licensing script fails, indicating failed Storage -- Error: "The vSAN capacity for cluster cannot be determined because of the stale PDL devices in this cluster"
search cancel

VMware Licensing script fails, indicating failed Storage -- Error: "The vSAN capacity for cluster cannot be determined because of the stale PDL devices in this cluster"

book

Article ID: 393240

calendar_today

Updated On:

Products

VMware vSAN VMware vSAN 8.x

Issue/Introduction

When running the Script "Get-FoundationCoreAndTiBUsage" (= KB 313548 ) against vSAN Cluster getting the following error:

"The vSAN capacity for cluster plat-isb-cluster cannot be determined because of the stale PDL devices in this cluster. Contact Global Support team for assistance."
 
 

Environment

vSAN 8.x

Cause

 

 

Resolution

Follow these Steps:
 
1.) Ensure that you are running PowerShell version 7.5.0 or higher
2.) Follow KB 381817 to check for stale/unhealthy disks on the vSAN Cluster
3.) If any stale/unhealthy disks were found, follow the steps listed in the section "Resolution" of KB 381817 to remove them
If assistance is required, please open a Ticket with VMware by Broadcom Support

4.) Re-run the script Get-FoundationCoreAndTiBUsage to determine whether the issue still exist
5.) If the issue still exists, please upload the script remediateLicense.pyattached in KB 387458 ) to the /tmp directory of all vSAN Hosts in the Cluster 
Run the script by opening a SSH/Putty to each Host and run:
python /tmp/remediateLicense.py 

6.) Re-run the script Get-FoundationCoreAndTiBUsage to determine whether the issue still exist
7.) If the issue still exists, please open a Ticket with VMware by Broadcom Support