VCF Workload Creation, Cluster Creation fails with "VSPHERE_HOSTS_DISKS_CANNOT_BE_CLAIMED" error
search cancel

VCF Workload Creation, Cluster Creation fails with "VSPHERE_HOSTS_DISKS_CANNOT_BE_CLAIMED" error

book

Article ID: 336413

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Proactively detect and avoid "VSPHERE_HOSTS_DISKS_CANNOT_BE_CLAIMED" error

Symptoms:
Running VCF Build Automation, WLD Creation, Cluster Creation, fails with error, "VSPHERE_HOSTS_DISKS_CANNOT_BE_CLAIMED"

Environment

VMware Cloud Foundation 4.x

Cause

This error occurs in all-flash setups where the storage has not been correctly configured on the host(s).

Resolution

Verify that storage has been correctly configured on all of the host(s)

Workaround:

  1. Run "vdq -q" command.
  2. On above command's output filter the disks based on below criteria:
    1. Get all disk which does have "IsVsanDirectDisk" value as 0 and "State" in eligible state.
    2. Get the count of disks which have "IsCapacityFlash" as 1 and 0.
  3. Complete the following calculation: NumberOfDisksWithoutCapacityTag * 7(Maximum disks per disk group) should be >= NumberOfDisksWithCapacityTag.

Note:
NumberOfDisksWithoutCapacityTag is the count of disks which have "IsVsanDirectDisk" flag value as 0.
NumberOfDisksWithCapacityTag is the count of disks which have "IsVsanDirectDisk" flag value is 1.