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 vSANVMware 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
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.py ( attached 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