Next option is grayed out while adding host from SDDC UI
VMware Cloud Foundation 5.x
A primary datastore must be shared across all hosts in a cluster and must be of one of the following types - VSAN, NFS or FC.
The error "primary datastore is null" occurs because there is no common datastore in the cluster.
Adding such a datastore (VSAN, NFS or FC and connected to all hosts) to cluster should properly update the primary datastore and allow us to proceed forward.