Failed to stretch the vSAN cluster with the error “Add more hosts in the spec to meet the required hosts and retry”
search cancel

Failed to stretch the vSAN cluster with the error “Add more hosts in the spec to meet the required hosts and retry”

book

Article ID: 421862

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • Failed to stretch the vSAN cluster following document Stretch a vSAN ESA or OSA Cluster Using the SDDC Manager API. The error message is as below

    Validate Secondary Zone Host Count

    Description
    Validate Secondary Zone Host Count

    Progress Messages
    The given cluster XXXX is being stretched with X hosts, it should be at least Y hosts required to do the vSAN stretch

    Error
    Message: The given cluster XXXX is being stretched with X hosts, it should be at least Y hosts required to do the vSAN stretch
    Remediation Message: Please add more hosts in the spec to match the required Y hosts and retry
    Reference Token: XXXXXX
    Cause: (empty)

Environment

VMware Cloud Foundation 9.0.x

Cause

In a VCF 9.0.x environment, vSAN cluster stretching must be performed via the SDDC Manager API. The operation fails if the number of hosts in the primary availability zone equals that in the secondary availability zone.

Resolution

Add more hosts in the spec to match the number of hosts in primary availability zone.