Error : "Applying personality to cluster" reported on adding new hosts to existing vSAN Stretched cluster in SDDC for VCF 9.x environment
search cancel

Error : "Applying personality to cluster" reported on adding new hosts to existing vSAN Stretched cluster in SDDC for VCF 9.x environment

book

Article ID: 462626

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Symptoms:

  • On adding a new host to existing vSAN Stretched cluster, following error is observed during remediation stage:

"Applying personality to cluster domain-xx failed with error:
com.vmware.vapi.std.errors.Error: Error (com.vmware.vapi.std.errors.error)

=> {
    messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
    id = com.vmware.vcIntegrity.lifecycle.TaskError.HealthCheckFailed,
    defaultMessage = Health Check for 'esx01.example.local' failed,
    args = [esx01.example.local],
    params = <null>,
    localized = Health Check for 'esx01.example.local' failed
}],
    data = <null>,
    errorType = ERROR
}

  • Also, when a new host is added, vmk0 is used to enable 'vSAN witness' traffic on but existing hosts do not use dedicated vmkernel adapter as it uses same vmkernel adapter as one where vSAN Traffic is enabled.

Environment

  • VMware Cloud Foundation 9.x

  • VMware vSAN 9.x

Cause

  • This error is caused as there is a conflict of configuration between the existing hosts in cluster and newly added ones. This conflict occurs because vSAN is converted from single site to Stretched cluster manually from vSphere Client instead of using SDDC Manager API.  This caused SDDC API configuration to not include granualar configuration settings like enablement of 'witnessTrafficSharedWithVsanTraffic' and thus this parameter is not available while expanding vSAN cluster. Thus, when new hosts are added using SDDC API (clusterExpansionSpec) vmk0 is used as default to tag vSAN Witness traffic.


  • Refer following document to know how the json configuration file looks like when vSAN Stretched cluster is configured using SDDC Manager API:
    Stretch a vSAN Storage Cluster Using the SDDC Manager API

    (Note : Check parameter 'witnessTrafficSharedWithVsanTraffic' towards end of file)

Resolution

Option-1 :

To unstretch existing vSAN Cluster and configure stretch again using SDDC API. 

(Note : This step requires VM storage policy to be changed to one that supprots single site vSAN configuration, turn off stretched cluster and remove fault domains)

Option-2 :

To continue using current vSAN stretch cluster, untag witness traffic on vmk0 and add tag to vmkernel adapter used for vSAN traffic (as it is for existing hosts).