Verify that you have a valid license for vSAN.
Using vSAN in production environments requires a special license that you assign to the vSAN clusters.
You can assign a standard vSAN license to the cluster, or a license that covers advanced functions. Advanced features include RAID 5/6 erasure coding, and deduplication and compression. An enterprise license is required for IOPS limits and stretched clusters. For information about assigning licenses, see Configure License Settings for a vSAN Cluster.
The capacity of the license must cover the total number of CPUs in the cluster.