Getting the following errors when running the script attached to KB Counting Cores for VMware Cloud Foundation and vSphere Foundation and TiBs for vSAN
"The vSAN capacity cannot be determined because of possible stale PDL devices in this cluster"
or
InvalidOperation: Method invocation failed because [VMware.Vsan.Views.VsanVcClusterConfigSystem] does not contain a method named 'VsanClusterGetClaimedCapacity'.
Validated the vSAN health is green and all disks are present.
VMware vSAN 8.0 U3
VMware vCenter 8.0 U3
The script attached to KB Counting Cores for VMware Cloud Foundation and vSphere Foundation and TiBs for vSAN calls an API (VsanClusterGetClaimedCapacity) directly which does not exist in vSAN 8.0 U3.
Use the updated script attached to this KB which was modified to remove the special handling for vCenter 8.0.3.