The desired state configuration pre-check fails when using vSphere configuration profiles - VMware vSphere ESXi
search cancel

The desired state configuration pre-check fails when using vSphere configuration profiles - VMware vSphere ESXi

book

Article ID: 427285

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

  • Applying vSphere Configuration Profiles within a two node cluster environment causes the "Desired State Configuration" draft pre-check to fail with the following error:

    Pre-check completed and found errors.
    Check whether there are hosts in partial maintenance mode in the cluster.
    Checks the HA state of all hosts in a cluster.
    Checks the vSAN cluster if a host can be put into maintenance mode.

    hostname.domain.local
    Heath check issues found.
    Checks if the host is ready to enter maintenance mode.
    Checks if DRS is disabled or manual AND vCSA is not on the host or if DRS is in partial or fully automated mode.
    Checks the HA state of the setup.
    Checks the vSAN cluster if a host can be put into maintenance mode.
    Check if there are enough resources on the current cluster for EMM task.

  • Additionally, the 2-node vSphere HA cluster has the dedicated host failover policy enabled with these parameters:
    • Reserved Failover CPU Capacity: 50%

    • Reserved Failover Memory Capacity: 50%

  • Under these conditions, vSphere DRS fails to place ESXi hosts into maintenance mode automatically for the desired configuration profile to be applied.
  • An alert is also triggered on the ESXi host(s): "Insufficient configured resources to satisfy the desired vSphere HA failover level"

Environment

  • VMware vSphere ESXi 7.0

  • VMware vSphere ESXi 8.0

  • VMware vCenter Server 7.0

  • VMware vCenter Server 8.0

Cause

In a 2 node cluster, placing one host into Maintenance Mode removes all redundancy. This inherently violates the strict vSphere HA Admission Control policy (specifically the "Dedicated Host" failover policy). Because the required failover capacity cannot be met during this state, DRS blocks the host from entering Maintenance Mode.

Resolution

  • Disable Admission Control, as it is not recommended for a 2-node cluster. Reference TechDoc: vSphere HA Admission Control.

  • If this issue is seen in a cluster with 3 or more ESXi hosts, adjust the admission control settings to satisfy the vSphere HA Failover resources and retry the Configuration Profiles Pre-check.

Additional Information