VCF Import tool prechecks failures on the SDDC - "Please check if the cluster has common datastore for all hosts which is VSAN skyline health check compatible or with NFS3 version or FC storage"
search cancel

VCF Import tool prechecks failures on the SDDC - "Please check if the cluster has common datastore for all hosts which is VSAN skyline health check compatible or with NFS3 version or FC storage"

book

Article ID: 384347

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

When using NFS or FC the default cluster with 3 nodes (minimum configuration), the precheck fails on the vCenter. 

Error in the /var/log/vmware/vcf/operationsmanager/operationsmanager.log:
 
YYYY-MM-DDTHH:MM:SS.715+0000 DEBUG [vcf_om,xxxxxxxxxxxxxxxx,4009] [c.v.v.b.p.t.v.v.ExternalValidationValidator,precheck-validation8] Running NATIVE validator primary-data-store-pre-import-validator on cluster entity with name <cluster_name> - validation run id c78b3d4d-2ae7-4b05-8864-ac3133c0df77
YYYY-MM-DDTHH:MM:SS.717+0000 INFO  [vcf_om,xxxxxxxxxxxxxxxx,4009] [c.v.v.b.c.v.ClusterPrimaryDataStorePreImportValidator,precheck-validation8] Found following shared datastores among all hosts in cluster: <cluster_name>, datastores: [<datastore_name>]
YYYY-MM-DDTHH:MM:SS.717+0000 INFO  [vcf_om,xxxxxxxxxxxxxxxx,4009] [c.v.v.b.c.v.ClusterPrimaryDataStorePreImportValidator,precheck-validation8] Cluster: <cluster_name> doesn't have any common datastore across all hosts in the cluster with  vSAN storage type
YYYY-MM-DDTHH:MM:SS.718+0000 DEBUG [vcf_om,xxxxxxxxxxxxxxxx,4009] [c.v.v.b.c.v.u.ClusterSizeValidationUtil,precheck-validation8] Validating cluster <cluster_name> size is supported for check type CONVERT
YYYY-MM-DDTHH:MM:SS.718+0000 DEBUG [vcf_om,xxxxxxxxxxxxxxxx,4009] [c.v.v.b.c.v.u.ClusterSizeValidationUtil,precheck-validation8] Checking if cluster with size 3, vlcmEnabled false, and storage type non-vSAN is supported
YYYY-MM-DDTHH:MM:SS.718+0000 DEBUG [vcf_om,xxxxxxxxxxxxxxxx,4009] [c.v.v.b.c.v.ClusterPrimaryDataStorePreImportValidator,precheck-validation8] For external storage datastore type, cluster <cluster_name> size is supported is: false

Environment

VCF 5.x

Resolution

Workaround:

  1. Take a snapshot of the VCF appliance.

  2. SSH into VCF appliance and elevate to root user

    su

  3. Add the following property override into operationsmanager's application.properties

    echo 'vcf.bion.minclustersize.convert.mgmt.cluster.default.size=3' >> /etc/vmware/vcf/operationsmanager/application.properties

    NOTE: Make sure you have the "append" directive (">>") in that above command to append and not replace that file
  4. Restart operationsmanager

    systemctl restart operationsmanager

  5. Wait until operationsmanager to become healthy after restart

    curl localhost/operationsmanager/about

    NOTE: you should get a JSON response with version information and "status": "ACTIVE"
  6. Once the service is up, retry the precheck.